Class: ItemHistoryService

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

Class ItemHistoryService

Class Overview

Holds methods for receiving History Versions of Items of the initialized Itemtype.

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

MasterItemType
   |
   --Itemtype
      |
      --ItemHistoryService
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: ItemHistoryService.php,v 1.6 2007/12/27 21:46:32 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Descendants
Child Class Description
ItemHistoryAdminService The ItemHistoryAdminService provides services for HistoryItems.

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

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
ItemHistoryService   ItemHistoryService()   Initalizes a new ItemHistoryService for a special Itemtype
int   countHistoryVersions()   Count all history Versions of this Item.
void   getHistoryVersion()  
void   getHistoryVersions()  
void   initItemHistoryService()  

[ Top ]
Methods
Constructor ItemHistoryService  [line 44]

  ItemHistoryService ItemHistoryService( [ $itemtype = '']  )

Initalizes a new ItemHistoryService for a special Itemtype

Parameters:
   $itemtype: 


[ Top ]
countHistoryVersions  [line 89]

  int countHistoryVersions( $id, $languageid  )

Count all history Versions of this Item.

Parameters:
   $id: 
   $languageid: 

API Tags:
Return:  the amount of History Versions for this Item


[ Top ]
getHistoryVersion  [line 68]

  void getHistoryVersion( $itemid, $languageid, $modifiedDate  )

Parameters:
   $itemid: 
   $languageid: 
   $modifiedDate: 


[ Top ]
getHistoryVersions  [line 54]

  void getHistoryVersions( $itemid, $languageid  )

Parameters:
   $itemid: 
   $languageid: 


[ Top ]
initItemHistoryService  [line 49]

  void initItemHistoryService( $itemtype  )

Parameters:
   $itemtype: 


[ Top ]