MenuAdminService __construct(
)
|
|
Instantiates a MenuAdminService.
void createItemLanguageVersion(
$id,
$copyLangID,
$data
)
|
|
Parameters:
Creates Menu with given values.
Parameters:
API Tags:
| Return: | new Menu ID or FALSE |
void updateItemContent(
$id,
$langid,
$content, [
$data = array()]
)
|
|
Overwritten to make sure to get each update.
Parameters:
|
|
$id: |
|
|
|
$langid: |
|
|
|
$content: |
|
|
|
$data: |
|
Redefinition of:
- ItemAdminService::updateItemContent()
- Overwrite this method to pipe update Calls to your ItemService implementation.
void updateMenuContent(
$id,
$langid,
$content, [
$data = array()]
)
|
|
This method prepares the Content and Meta information to be saved correctly.
If you update Menu Content, always use this method and NOT the generic method
!- Absolute links will be replaced by relative ones
- Removes all possible Session IDs from links and image tags
- Prepares the Search Content
After all then Menu will be updated with these Informations, including timestamp and author.
Parameters:
|
|
$id: |
|
|
|
$langid: |
|
|
|
$content: |
|
|
|
$data: |
|