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

Class: FilesystemItem

Source Location: /classes/item/FilesystemItem.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --Item
         |
         --FilesystemItem

This represents a Filesystem Item


Methods


Child classes:

File
Class used for handling BIGACE "File" Items.
Image
This represents a BIGACE "Image" Item.
Menu
Class used for handling Menus.

Inherited Constants

Inherited Variables

Inherited Methods

Class: Item

Item::Item()
Item::countChilds()
Returns the number of Childs for this Item.
Item::countHistoryVersions()
Counts the History Versions for this Item
Item::exists()
Checks whether this Item exists or not.
Item::getChilds()
Item::getCreateBy()
Item::getCreateDate()
Item::getDescription()
Item::getFullURL()
Item::getID()
Item::getItemDate()
Item::getItemNum()
Item::getItemText()
Item::getItemType()
Item::getLanguageID()
Item::getLastBy()
Item::getLastByID()
Item::getLastDate()
Returns the timestamp of the last changes on this Item (like Description or Content).
Item::getMimetype()
Item::getName()
Item::getParentID()
Item::getPosition()
Gets the Position of this Item
Item::getURL()
Item::hasChilds()
Checks if the Item has childs.
Item::init()
Item::_setItemValues()

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 37]
This represents a Filesystem Item

getItemText('2') = getOriginalName()




[ Top ]


Class Methods


constructor FilesystemItem [line 46]

FilesystemItem FilesystemItem( int $itemtype, int $id, [mixed $treetype = 'full'], [mixed $languageID = ''])

This intializes the Object with the given Itemtype and ID



Parameters:

int   $itemtype   the Itemtype ID
int   $id   the Item ID

[ Top ]

method getContent [line 92]

void getContent( )

Fetches the Content from the linked File.



[ Top ]

method getOriginalName [line 84]

void getOriginalName( )

Gets the original File Name. This MUST only work with uploaded Files.

Otherwise it depends on the User entrys.




[ Top ]

method getSize [line 54]

void getSize( )

Gets the Size of the linked File.



[ Top ]

method lastModified [line 70]

int lastModified( )

Returns the last modified date of the File (filemtime).

Unlike

this only returns the last changes on the Items Content!




Tags:

return:  the last modified timestamp
access:  public


[ Top ]


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