Class: Itemtype

Source Location: /CORE/system/classes/item/Itemtype.php

Class Itemtype

Class Overview

This Base class is represents an Itemtype within the CMS and holds methods to receive several information about Items of this Type.

Located in /CORE/system/classes/item/Itemtype.php [line 39]

MasterItemType
   |
   --Itemtype
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: Itemtype.php,v 1.8 2007/10/26 23:48:46 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Descendants
Child Class Description
ItemFutureLanguageEnumeration Returns all Languages, the specified Item has Future Versions of.
ItemHistoryService Holds methods for receiving History Versions of Items of the initialized Itemtype.
ItemHistoryEnumeration The ItemHistoryEnumeration provides methods for receiving all list of Items.
Item This is the Super Class for all Items!
Changes in here will be available in all implementing Items.
ItemFutureService Holds methods for working with Future Versions of Items.
ItemService Holds methods for receiving Items of the initialized Itemtype.
WorkflowService The WorkflowService provides methods to receive Future versions within a Workflow.

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

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
Itemtype   Itemtype()  
void   getClass()  
void   getClassName()  
void   getCommand()  
void   getDirectory()  
void   getItemtypeID()  
void   initItemtype()  

[ Top ]
Methods
Constructor Itemtype  [line 46]

  Itemtype Itemtype( $type  )

Parameters:
   $type: 


[ Top ]
getClass  [line 75]

  void getClass( $id, [ $treetype = ITEM_LOAD_FULL], [ $languageID = '']  )

Parameters:
   $id: 
   $treetype: 
   $languageID: 


[ Top ]
getClassName  [line 65]

  void getClassName( )



[ Top ]
getCommand  [line 60]

  void getCommand( )



[ Top ]
getDirectory  [line 70]

  void getDirectory( )



[ Top ]
getItemtypeID  [line 56]

  void getItemtypeID( )



[ Top ]
initItemtype  [line 51]

  void initItemtype( $type  )

Parameters:
   $type: 


[ Top ]