Class: ItemHistoryAdminService

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

Class ItemHistoryAdminService

Class Overview

The ItemHistoryAdminService provides services for HistoryItems.

Located in /CORE/system/classes/item/ItemHistoryAdminService.php [line 42]

MasterItemType
   |
   --Itemtype
      |
      --ItemHistoryService
         |
         --ItemHistoryAdminService
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: ItemHistoryAdminService.php,v 1.10 2009/02/27 23:49:02 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 ItemHistoryService

ItemHistoryService::ItemHistoryService()
Initalizes a new ItemHistoryService for a special Itemtype
ItemHistoryService::countHistoryVersions()
Count all history Versions of this Item.
ItemHistoryService::getHistoryVersion()
ItemHistoryService::getHistoryVersions()
ItemHistoryService::initItemHistoryService()

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
ItemHistoryAdminService   ItemHistoryAdminService()  
void   deleteAllHistoryVersions()   Deletes all old Versions of this Item
void   deleteAllHistoryVersionsAllLanguages()   Deletes all old Versions of this Item
void   deleteHistoryVersion()   Deletes a special History Version of this Item

[ Top ]
Methods
Constructor ItemHistoryAdminService  [line 45]

  ItemHistoryAdminService ItemHistoryAdminService( $itemtype  )

Parameters:
   $itemtype: 


[ Top ]
deleteAllHistoryVersions  [line 72]

  void deleteAllHistoryVersions( $id, $langid  )

Deletes all old Versions of this Item

Parameters:
   $id: 
   $langid: 


[ Top ]
deleteAllHistoryVersionsAllLanguages  [line 57]

  void deleteAllHistoryVersionsAllLanguages( $id  )

Deletes all old Versions of this Item

Parameters:
   $id: 


[ Top ]
deleteHistoryVersion  [line 88]

  void deleteHistoryVersion( $id, $langid, $modifieddate  )

Deletes a special History Version of this Item

Parameters:
   $id: 
   $langid: 
   $modifieddate: 


[ Top ]