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

Class: Item

Source Location: /classes/item/Item.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --Item

This is the Super Class for all Items!
Changes in here will be available in all available Itemtypes.


Variables

Methods


Child classes:

DBItem
This is the Super Class for all Items!
Changes in here will be available in all Itemtypes (Menu,Image,Module,File).
FilesystemItem
This represents a Filesystem Item

Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 39]
This is the Super Class for all Items!
Changes in here will be available in all available Itemtypes.

getItemText('1') = getURL()




[ Top ]


Class Variables

$childs =  -1

[line 43]


Type:   mixed


[ Top ]

$classitem =

[line 42]


Type:   mixed


[ Top ]



Class Methods


constructor Item [line 45]

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



[ Top ]

method countChilds [line 229]

void countChilds( )

Returns the number of Childs for this Item.



[ Top ]

method countHistoryVersions [line 257]

int countHistoryVersions( )

Counts the History Versions for this Item



Tags:

return:  how many History Versions are available for this Item


[ Top ]

method exists [line 243]

void exists( )

Checks whether this Item exists or not.

PENDING: SHOULD BE FIXED IMMEDIATELY !!!!!!!!!!!




[ Top ]

method getChilds [line 221]

void getChilds( )



[ Top ]

method getCreateBy [line 150]

UserInfo getCreateBy( )



Tags:

return:  the UserInfo Object of the one who created this Item


[ Top ]

method getCreateDate [line 158]

int getCreateDate( )



Tags:

return:  the creation timestamp


[ Top ]

method getDescription [line 111]

String getDescription( )



Tags:

return:  the Items description


[ Top ]

method getFullURL [line 205]

String getFullURL( )



Tags:

return:  the Items full name including directory


[ Top ]

method getID [line 87]

int getID( )



Tags:

return:  the Item ID


[ Top ]

method getItemDate [line 116]

void getItemDate( mixed $id)



[ Top ]

method getItemNum [line 121]

void getItemNum( mixed $id)



[ Top ]

method getItemText [line 126]

void getItemText( mixed $id)



[ Top ]

method getItemType [line 79]

int getItemType( )



Tags:

return:  the ItemType ID


[ Top ]

method getLanguageID [line 134]

int getLanguageID( )



Tags:

return:  the Items language ID


[ Top ]

method getLastBy [line 176]

UserInfo getLastBy( )



Tags:

return:  the UserInfo Object of the one who made the last changes


[ Top ]

method getLastByID [line 181]

void getLastByID( )



[ Top ]

method getLastDate [line 168]

int getLastDate( )

Returns the timestamp of the last changes on this Item (like Description or Content).



Tags:

return:  the timestamp of last changes


[ Top ]

method getMimetype [line 95]

String getMimetype( )



Tags:

return:  the Mimetype


[ Top ]

method getName [line 103]

String getName( )



Tags:

return:  the Items Name


[ Top ]

method getParentID [line 142]

int getParentID( )



Tags:

return:  the ID of the Parent Item


[ Top ]

method getPosition [line 189]

void getPosition( )

Gets the Position of this Item



[ Top ]

method getURL [line 197]

String getURL( )



Tags:

return:  the Items file name


[ Top ]

method hasChilds [line 216]

boolean hasChilds( )

Checks if the Item has childs.

For now only Menus (Itemtype 1) allow Childs!




Tags:

return:  returns wheteher this Item has Childs or not


[ Top ]

method init [line 49]

void init( mixed $itemtype, mixed $id, [mixed $treetype = 'full'], [mixed $languageID = ''])



[ Top ]

method _setItemValues [line 71]

void _setItemValues( mixed $array)



[ Top ]


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