Class: ImageAdminService

Source Location: /CORE/system/classes/image/ImageAdminService.php

Class ImageAdminService

Class Overview

The ImageAdminService provides all kind of writing services for Images.

Located in /CORE/system/classes/image/ImageAdminService.php [line 39]

MasterItemType
   |
   --Itemtype
      |
      --ItemService
         |
         --ItemAdminService
            |
            --ImageAdminService
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: ImageAdminService.php,v 1.11 2008/09/20 22:26:40 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ItemAdminService

ItemAdminService::ItemAdminService()
ItemAdminService::addCategoryLink()
ItemAdminService::buildUniqueName()
ItemAdminService::buildUniqueNameSafe()
ItemAdminService::changeItem()
Changes an existing File in the System.
ItemAdminService::changeItemColumnLanguage()
ItemAdminService::createDataArrayForParent()
ItemAdminService::createItem()
Inserts a new Item, NOT a language version!
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()
This returns:
ItemAdminService::getMaxPositionForParentID()
Get the highest Position within the given Tree.
ItemAdminService::initItemAdminService()
Has to be called by implementing classes.
ItemAdminService::isAllowed()
Returns whether the uploaded file type is allowed by the System.
ItemAdminService::isSupportedFile()
ItemAdminService::lowerPosition()
Moves the Item a position down.
ItemAdminService::moveItem()
Moves an Item to a new Parent ID.
ItemAdminService::raisePosition()
Moves the Item a position up.
ItemAdminService::refreshHistoryVersionContent()
Gets the specified History version and uses its Content to replace the Content of the Items published Version.
ItemAdminService::registerAsFile()
ItemAdminService::registerUploadedFile()
Registers a File that was posted to the system.
ItemAdminService::removeAllCategoryLinks()
ItemAdminService::removeCategoryLink()
ItemAdminService::setItemFlag()
$flag must be one of:
ItemAdminService::setItemPosition()
Sets the new Item position.
ItemAdminService::setParent()
Move an Item to a new Parent.
ItemAdminService::setProjectNum()
Inserts or updates the given numeric project value.
ItemAdminService::setProjectText()
Inserts or updates the given textual project value.
ItemAdminService::updateContent()
Updates the Content in the File that is fetched from Item->getFullURL().
ItemAdminService::updateItemContent()
Overwrite this method to pipe update Calls to your ItemService implementation.
ItemAdminService::updateItemWithUpload()
Updates the given Items Content with the last uploaded File.
ItemAdminService::_changeItemLanguageWithTimestamp()
Executes an Update on the given Item Language Version.

Inherited From ItemService

ItemService::ItemService()
Initalizes a new ItemService for the given Itemtype.
ItemService::countAllItems()
Counts all Items, except TOP_LEVEL.
ItemService::countLevel()
Calculates the Level beneath TOP LEVEL.
ItemService::getItem()
ItemService::getItemLanguageEnumeration()
ItemService::getItemtype()
ItemService::getLastEditedItems()
Get the last edited Items for the specified Language.
ItemService::getLightTree()
ItemService::getLightTreeForLanguage()
ItemService::getTree()
ItemService::getTreeForLanguage()
ItemService::getTreeWalker()
ItemService::getWayHome()
ItemService::increaseViewCounter()
ItemService::initItemService()
ItemService::isChildOf()
Returns true if "child" is somewhere beneath "parent" in the Menu Tree.
ItemService::isLeaf()
Checks whether the given Item is a Leaf.

Inherited From Itemtype

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

Inherited From MasterItemType

MasterItemType::MasterItemType()
Empty Constructor.
MasterItemType::countItemtypes()
Returns how many Itemtypes are known by the System.
MasterItemType::getClassForItemType()
Returns a new instance of the Class for the given Itentype ID.
MasterItemType::getClassNameForItemType()
Returns the Classname for the given Itentype ID.
MasterItemType::getCommandForItemType()
Return the Command for the given Itemtype ID.
MasterItemType::getDirectoryForItemType()
Return the Directory for the given Itemtype ID.
MasterItemType::getItemTypeForCommand()
Get the Itemtype ID for the given Command (or null).
MasterItemType::getSelectColumns()
Returns the Select Columns to be used for Item- and Treeselects.

[ Top ]
Method Summary
ImageAdminService   ImageAdminService()  
void   buildUniqueName()   overwritten to add proper file extension
void   createItemLanguageVersion()  

[ Top ]
Methods
Constructor ImageAdminService  [line 42]

  ImageAdminService ImageAdminService( )



[ Top ]
buildUniqueName  [line 51]

  void buildUniqueName( $name, $extension  )

overwritten to add proper file extension

Parameters:
   $name: 
   $extension: 

API Tags:
Access:  protected


Redefinition of:
ItemAdminService::buildUniqueName()

[ Top ]
createItemLanguageVersion  [line 58]

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

Parameters:
   $id: 
   $copyLangID: 
   $data: 


[ Top ]