...
ItemCollection | Item |
---|---|
cApiCategoryLanguageCollection | cApiCategoryLanguage |
Convenience methods
The ItemCollection class provides some convenience methods to work on this entity:
Method | Description |
---|---|
create($idcat, $idlang, $name, $urlname, $urlpath = '', $idtplcfg = 0, $visible = 0, $public = 0, $status = 0, $author = '', $startidartlang = 0, $created = '', $lastmodified = '') | Creates a category language entry. |
getStartIdartlangByIdcatAndIdlang($idcat, $idlang) | Returns startidartlang of articlelanguage by category id and language id. |
getStartIdartByIdcatAndIdlang($idcat, $idlang) | Returns article id of articlelanguages startarticle by category id and language id. |
isStartArticle($idartlang, $idcat = null, $idlang = null) | Checks if passed idartlang is a start article. |
The Item class provides some convenience methods to work on this entity:
Method | Description |
---|---|
loadByCategoryIdAndLanguageId($idcat, $idlang) | Load data by category id and language id |
setField($name, $value, $safe = true) | Userdefined setter for article language fields. |
assignTemplate($idtpl) | Assigns the passed template to the category language item. |
getTemplate() | Returns id of template where this item is configured |
hasStartArticle() | Checks if category language item has a start article |
store() | Updates lastmodified field and calls parents store method |
getLink() | Returns the link to the current object. |
Previous changes of this table
...