scriptlog:public:functions-post
Differences
This shows you the differences between two versions of the page.
| scriptlog:public:functions-post [2026/09/26 09:09] – admin admin | scriptlog:public:functions-post [2026/09/26 09:17] (current) – admin admin | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| ======= Functions (41) ======= | ======= Functions (41) ======= | ||
| - | | + | ^ Function ^ Line ^ Params ^ Returns ^ Summary ^ |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| Line 70: | Line 70: | ||
| previous_post() - Get previous post link | previous_post() - Get previous post link | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 84: | Line 84: | ||
| next_post() - Get next post link | next_post() - Get next post link | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 197: | Line 197: | ||
| random_posts() - Get random posts | random_posts() - Get random posts | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| Line 212: | Line 212: | ||
| latest_posts() - Get latest posts | latest_posts() - Get latest posts | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| Line 227: | Line 227: | ||
| prepare_post_card() - Normalize a raw post row into a display-ready card. | prepare_post_card() - Normalize a raw post row into a display-ready card. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 241: | Line 241: | ||
| theme_post_url() - Build a post URL without a per-row database round-trip. | theme_post_url() - Build a post URL without a per-row database round-trip. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 255: | Line 255: | ||
| theme_topic_url() - Build a category URL without a per-row DB round-trip. | theme_topic_url() - Build a category URL without a per-row DB round-trip. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 269: | Line 269: | ||
| theme_page_url() - Build a static page URL without a per-row DB round-trip. | theme_page_url() - Build a static page URL without a per-row DB round-trip. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 294: | Line 294: | ||
| theme_tag_url() - Build a tag archive URL without a per-row DB round-trip. | theme_tag_url() - Build a tag archive URL without a per-row DB round-trip. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 308: | Line 308: | ||
| theme_month_name() - Localized month number to English month name. | theme_month_name() - Localized month number to English month name. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 322: | Line 322: | ||
| theme_archive_url() - Build a monthly archive URL without a per-row DB | theme_archive_url() - Build a monthly archive URL without a per-row DB | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| Line 337: | Line 337: | ||
| prepare_page() - Normalize a raw page row into a display-ready PageViewModel. | prepare_page() - Normalize a raw page row into a display-ready PageViewModel. | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 351: | Line 351: | ||
| prepare_archive() - Normalize a raw archive row into a display-ready | prepare_archive() - Normalize a raw archive row into a display-ready | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 376: | Line 376: | ||
| Format topics data into HTML category links | Format topics data into HTML category links | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 390: | Line 390: | ||
| retrieves_topic_simple() - Get topic links for post | retrieves_topic_simple() - Get topic links for post | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 404: | Line 404: | ||
| retrieves_topic_prepared() - Get topic links with status check | retrieves_topic_prepared() - Get topic links with status check | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 440: | Line 440: | ||
| link_tag() - Generate tag links | link_tag() - Generate tag links | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 454: | Line 454: | ||
| link_topic() - Generate topic link | link_topic() - Generate topic link | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 479: | Line 479: | ||
| retrieve_detail_post() - Get single post by ID | retrieve_detail_post() - Get single post by ID | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 493: | Line 493: | ||
| posts_by_archive() - Get posts by archive | posts_by_archive() - Get posts by archive | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 518: | Line 518: | ||
| posts_by_tag() - Get posts by tag | posts_by_tag() - Get posts by tag | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 532: | Line 532: | ||
| searching_by_tag() - Full-text tag search | searching_by_tag() - Full-text tag search | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 546: | Line 546: | ||
| posts_by_category() - Get posts by category | posts_by_category() - Get posts by category | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| Line 571: | Line 571: | ||
| retrieve_page() - Get page by ID or slug | retrieve_page() - Get page by ID or slug | ||
| - | | + | ^ Parameter ^ Type ^ Default ^ Description ^ |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
scriptlog/public/functions-post.1790413764.txt.gz · Last modified: by admin
