...
idartlang: is the article identifier for languages.
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.
Code Block | ||
---|---|---|
| ||
$idart = 1;
$article = new cApiArticle($idart);
$articleCol = new cApiArticleCollection();
$articleCol->loadItem($idart);
$idartLang = 1;
$artLang = new cApiArticleLanguage($idartLang);
$artLangCol = new cApiArticleLanguageCollection();
$artLangCol->loadItem($idartLang); |