What is the article?
The article is actually the page of the website.Articles in CONTENIDO
Articles in CONTENIDO are placed in backend under Content -> Articles.
On the screenshot above you can see the articles overview area with one start article.
In this area you can perform several article related actions like creation of new article, edit existing article, switch on and offline,
lock, move up and down, duplicate, freeze, set start article and delete etc.
Article states
online/offline: if article is offline you can't reach it from frontend of the page.
freeze article: if article is frozen, other user can't made changes on it.
Article id's
idart: idart ist the article identifier.
idartlang: is the article identifier in different languages.
How to use.
The usage is very simple. You can load single or multiple article objects by using article respectively article collection.
To see all possible loading and object handling methods, take a look on Item or ItemCollection classes.
$idart = 1; $article = new cApiArticle($idart); $articleCol = new cApiArticleCollection(); $articleCol->loadItem($idart); $idartLang = 1; $artLang = new cApiArticleLanguage($idartLang); $artLangCol = new cApiArticleLanguageCollection(); $artLangCol->loadItem($idartLang);