bigace.classes.menu
[ class tree: bigace.classes.menu ] [ index: bigace.classes.menu ] [ all elements ]

Class: MenuAdminService

Source Location: /classes/menu/MenuAdminService.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --ItemAdminService
         |
         --MenuAdminService

Class used for administrating BIGACE "Menu" Items


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: ItemAdminService

ItemAdminService::ItemAdminService()
ItemAdminService::addCategoryLink()
ItemAdminService::buildInitialFilename()
Build a Filename that can be used for new Items or Language Versions
ItemAdminService::changeFile()
Changes an existing File in the System.
ItemAdminService::changeItem()
Changes an existing File in the System.
ItemAdminService::createItem()
Inserts a brand new Item into the System.
ItemAdminService::createLanguageVersion()
Creates a NEW language for the given Item.
ItemAdminService::deleteAllProjectNum()
ItemAdminService::deleteAllProjectText()
ItemAdminService::deleteItem()
Deletes an Item from BIGACE, including all Language Versions, its rights and categorys.
ItemAdminService::deleteItemLanguage()
ItemAdminService::getMaxPositionForParentID()
ItemAdminService::initItemAdminService()
ItemAdminService::initProjectService()
ItemAdminService::isAllowed()
Has to be overriden by any implementing class!
ItemAdminService::lowerPosition()
Tries to lower the Items position.
ItemAdminService::moveItem()
ItemAdminService::raisePosition()
Tries to raise the position for this Item.
ItemAdminService::registerUploadedFile()
Registers a Image within BIGACE that was posted to the system.
ItemAdminService::removeAllCategoryLinks()
ItemAdminService::removeCategoryLink()
ItemAdminService::setProjectNum()
ItemAdminService::setProjectText()
ItemAdminService::updateContent()
Updates the Content in the File that is fetched from Item->getFullURL().
ItemAdminService::updateItemWithUpload()
Updates the given Items Content with the last uploaded File.
ItemAdminService::_changeItem()
Executes an Update on the given Item.
ItemAdminService::_changeItemWithTimestamp()
Executes an Update on the given Item.
ItemAdminService::_createContentHistoryVersion()
Creates a History version for the linked File and returns the Last Modified Timestamp.
ItemAdminService::_createDatabaseHistoryVersion()
Creates a full backup of the given Version and returns the new Filename.
ItemAdminService::_createFullHistoryVersion()
Creates a full backup of the given Version and returns the new Filename.
ItemAdminService::_createProjectValue()
ItemAdminService::_deleteItemLanguage()
Deletes the Items Languae Versions, all Backups and all depenend Project Values.
ItemAdminService::_insertItem()
Inserts a new Item into the Database.
ItemAdminService::_prepareSqlValues()
ItemAdminService::_saveContent()
Saves the Content to the given File, by replacing the old File content.
ItemAdminService::_updateDatabaseHistoryVersion()
Creates a full backup of the given Version and returns the new Filename.

Class: Itemtype

Itemtype::Itemtype()
Itemtype::getClass()
Itemtype::getClassName()
Itemtype::getCommand()
Itemtype::getDirectory()
Itemtype::getItem()
Itemtype::getItemtypeID()
Itemtype::getTableName()
Itemtype::initItemtype()

Class: MasterItemType

MasterItemType::MasterItemType()
MasterItemType::countItemtypes()
Returns how many Itemtypes are known by the System.
MasterItemType::getClassForItemType()
MasterItemType::getClassNameForItemType()
MasterItemType::getCommandForItemType()
MasterItemType::getDirectoryForItemType()
MasterItemType::getItemForItemType()
MasterItemType::getItemTypeArray()
MasterItemType::getItemTypeForCommand()
MasterItemType::getItemTypeIDforName()
MasterItemType::getTableNameForItemType()
MasterItemType::initMasterItemType()

Class Details

[line 32]
Class used for administrating BIGACE "Menu" Items



[ Top ]


Class Methods


constructor MenuAdminService [line 38]

MenuAdminService MenuAdminService( )

Instantiates a MenuAdminService.



[ Top ]

method createItemLanguageVersion [line 90]

void createItemLanguageVersion( mixed $id, mixed $copyLangID, mixed $data)



[ Top ]

method createMenu [line 56]

the createMenu( mixed $data)

Creates Menu with given values.



Tags:

return:  new Menu ID


[ Top ]

method isAllowed [line 43]

void isAllowed( mixed $file)



Overrides ItemAdminService::isAllowed() (Has to be overriden by any implementing class!)

[ Top ]

method updateMenuContent [line 113]

void updateMenuContent( mixed $id, mixed $langid, mixed $content)

Parses the given Content for absolute Links and/or URLs to the actual Domain and replaces them by relative ones.

Then saves the Content.




[ Top ]

method _getRealTextContent [line 127]

void _getRealTextContent( mixed $content)

Used for getting the real text from the html content.

The result will be used by stored within the DB and then used for the Search. Make sure to store only important data (remove html tags)!




[ Top ]


Documentation generated on Tue, 11 Oct 2005 23:02:15 +0200 by phpDocumentor 1.3.0RC2