The ItemAdminService provides all kind of methods for write access to any Item and Item Language Version of all Itemtypes.
Initialize the ItemAdminService with the required Itemtype!
MasterItemType | --Itemtype | --ItemService | --ItemAdminService
| Class | Description |
|---|---|
| FileAdminService | The FileAdminService provides all kind of writing services for Files. |
| ImageAdminService | The ImageAdminService provides all kind of writing services for Images. |
| MenuAdminService | Class used for administrating BIGACE "Menu" Items |
Changes an existing File in the System.
THIS METHOD CREATES A DATABASE BACKUP!
Inserts a brand new Item into the System.
THIS ONLY INSERTS THE DATABASE ENTRY. IF YOU NEED A FILESYSTEM ENTRY, YOU HAVE TO CREATE IT FIRST AND SUBMIT ITS NAME WITHIN THE PASSED ARRAY.
Creates a NEW language for the given Item.
Copies the settings from the given Language Version of this Item if they are not passed.
Deletes an Item from BIGACE, including all Language Versions, its rights and categorys.
If you try to delete the TOP_LEVEL it will return FALSE.
This returns:
Get the highest Position within the given Tree.
Will read the childs of the given ParentID and search the highest value. If the returned Result is successful, you get the Max Position by calling
- getID()
Has to be called by implementing classes.
Returns whether the uploaded file type is allowed by the System.
This depends on the File type.
Moves the Item a position down.
Moves an Item to a new Parent ID.
No further check is performed, so make sure, the new Parent is not the Page itself or a child of the current Page!
Moves the Item a position up.
Gets the specified History version and uses its Content to replace the Content of the Items published Version.
The replaced version (the actual one) will become a history version, to make sure no information will be lost.
Registers a File that was posted to the system.
If your HTML FORM input field for a File looked like that:
- <input name="NewFile" type="file">
- $_FILES['NewFile']
To specify the File setting, pass an Array like this:
- array("name" => "foo", "description" => "bar", "langid" => "LanguageID")
Sets the new Item position.
Updates the Content in the File that is fetched from Item->getFullURL().
If the file does not exists it will simply create it.
THIS METHOD CREATES A FILESYSTEM AND A DATABASE BACKUP!
Overwrite this method to pipe update Calls to your ItemService implementation.
Updates the given Items Content with the last uploaded File.
THIS METHOD CREATES A FILESYSTEM AND A DATABASE BACKUP!
Inherited From ItemService
ItemService::ItemService()
ItemService::countAllItems()
ItemService::countLevel()
ItemService::getItem()
ItemService::getItemLanguageEnumeration()
ItemService::getItemtype()
ItemService::getLastEditedItems()
ItemService::getLightTree()
ItemService::getLightTreeForLanguage()
ItemService::getTree()
ItemService::getTreeForLanguage()
ItemService::getTreeWalker()
ItemService::getWayHome()
ItemService::initItemService()
ItemService::isChildOf()
ItemService::isLeaf()
Inherited From Itemtype
Itemtype::Itemtype()
Itemtype::getClass()
Itemtype::getClassName()
Itemtype::getCommand()
Itemtype::getDirectory()
Itemtype::getItemtypeID()
Itemtype::initItemtype()
Inherited From MasterItemType
MasterItemType::MasterItemType()
MasterItemType::countItemtypes()
MasterItemType::getClassForItemType()
MasterItemType::getClassNameForItemType()
MasterItemType::getCommandForItemType()
MasterItemType::getDirectoryForItemType()
MasterItemType::getItemTypeForCommand()
MasterItemType::getSelectColumns()
Documentation generated by phpDocumentor 1.3.1