NAVIGATION
This shows you the differences between two versions of the page.
|
english:technics:system-variables:category-article-cp-ids [2010/03/30 11:14] Knut Heermann (flip-flop) |
english:technics:system-variables:category-article-cp-ids [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| == phpwcms_articlecontent (ContentParts) == | == phpwcms_articlecontent (ContentParts) == | ||
| - | * **phpwcms_articlecontent['acontent_id']** = CP ID | + | * **phpwcms_articlecontent.acontent_id** = CP ID |
| - | * **phpwcms_articlecontent['acontent_aid']** = ID of the article in that the CP is | + | * **phpwcms_articlecontent.acontent_aid** = ID of the article in that the CP is |
| \\ | \\ | ||
| == phpwcms_article (Article) == | == phpwcms_article (Article) == | ||
| - | * **phpwcms_article['article_id']** = ID of the article | + | * **phpwcms_article.article_id** = ID of the article |
| - | * **phpwcms_article['article_cid']** = ID of the category in that the article is | + | * **phpwcms_article.article_cid** = ID of the category in that the article is |
| \\ | \\ | ||
| Line 22: | Line 22: | ||
| - | * **phpwcms_article['acat_id']** = ID of the category | + | * **phpwcms_article.acat_id** = ID of the category |
| \\ | \\ | ||
| Line 33: | Line 33: | ||
| $GLOBALS['aktion'][1]; = Article ID (Output only in article detail view) | $GLOBALS['aktion'][1]; = Article ID (Output only in article detail view) | ||
| </code> | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | All categories: -> ##$content["struct"]## \\ | ||
| + | All articles: -> ##$content["articles"]## \\ | ||
| + | <code php> | ||
| + | dumpVar($GLOBALS['content']["struct"]); // category structure | ||
| + | dumpVar($GLOBALS['content']["articles"]); // actual article structure | ||
| + | dumpVar(get_actcat_articles_data('54')); // All articles behind the category with ID e.g. 54 | ||
| + | </code> | ||
| + | |||
| See also: [[english/technics/system-variables]] | See also: [[english/technics/system-variables]] | ||