b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: ItemType

Source Location: /blogs/inc/items/model/_itemtype.class.php

Class ItemType

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DataObject

DataObject::$allow_ID_insert
DataObject::$delete_cascades
DataObject::$delete_restrictions
DataObject::$ID

Inherited From DataObject

DataObject::DataObject()
Constructor
DataObject::action_icon()
Generate requested action icon depending on perm
DataObject::action_link()
Generate requested action link depending on perm
DataObject::check_delete()
Check relations for restrictions before deleting
DataObject::check_relations()
Check relations for restrictions or cascades.
DataObject::confirm_delete()
Displays form to confirm deletion of this object
DataObject::dbchange()
Records a change that will need to be updated in the db
DataObject::dbdelete()
Delete object from DB.
DataObject::dbexists()
Check existence of specified value in unique field.
DataObject::dbinsert()
Insert object into DB based on previously recorded changes.
DataObject::dbsave()
Inserts or Updates depending on object state.
DataObject::dbupdate()
Update the DB based on previously recorded changes
DataObject::dget()
Get a ready-to-display member param by its name
DataObject::disp()
Display a member param by its name
DataObject::get()
Get a member param by its name
DataObject::get_action_title()
Generate help title text for action
DataObject::history_info_icon()
Create icon with dataobject history
DataObject::ID()
Template function: Displays object ID.
DataObject::set()
Set param value
DataObject::set_from_Request()
Set a parameter from a Request form value.
DataObject::set_param()
Set param value.
DataObject::set_string_from_param()
Set a string parameter from a Request form value.

[ Top ]
Property Summary
mixed   $name  

[ Top ]
Method Summary
ItemType   ItemType()   Constructor
int   dbexists()   Check existence of specified item type ID in ptyp_ID unique field.
string   get_name()   Get the name of the ItemType
array   get_reserved_ids()   Returns array, which determinate the lower and upper limit of protected ID's
boolean   load_from_Request()   Load data from Request form fields.

[ Top ]
Methods
Constructor ItemType  [line 59]

  ItemType ItemType( [table $db_row = NULL]  )

Constructor

Parameters:
table   $db_row:  Database row


[ Top ]
dbexists  [line 114]

  int dbexists( )

Check existence of specified item type ID in ptyp_ID unique field.


API Tags:
Return:  ID if item type exists otherwise NULL/false


Redefinition of:
DataObject::dbexists()
Check existence of specified value in unique field.

[ Top ]
get_name  [line 104]

  string get_name( )

Get the name of the ItemType



[ Top ]
get_reserved_ids  [line 130]

  array get_reserved_ids( )

Returns array, which determinate the lower and upper limit of protected ID's



[ Top ]
load_from_Request  [line 84]

  boolean load_from_Request( )

Load data from Request form fields.


API Tags:
Return:  true if loaded data seems valid.


[ Top ]

Documentation generated on Sat, 06 Mar 2010 04:16:36 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).