b2evolution

Multilingual multiuser multiblog engine

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

Class: GenericElement

Source Location: /blogs/inc/generic/model/_genericelement.class.php

Class GenericElement

Class Overview

User Element

Generic Element of users with specific permissions.

Located in /blogs/inc/generic/model/_genericelement.class.php [line 45]

DataObject
   |
   --GenericElement
Author(s):
Information Tags:
Version:  beta

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
GenericOrdered User property;
GenericCategory GenericCategory Class

[ Top ]
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
string   $name   Name of Generic Element

[ Top ]
Method Summary
GenericElement   GenericElement()   Constructor
void   disp_form()   TODO
string   get_name()   Template function: return name of item
boolean   load_from_Request()   Load data from Request form fields.

[ Top ]
Properties
string   $name [line 53]

Name of Generic Element

API Tags:
Access:  protected


[ Top ]
Methods
Constructor GenericElement  [line 64]

  GenericElement GenericElement( string $tablename, [string $prefix = ''], [string $dbIDname = 'ID'], [object DB $db_row = NULL]  )

Constructor

Parameters:
string   $tablename:  Name of table in database
string   $prefix:  Prefix of fields in the table
string   $dbIDname:  Name of the ID field (including prefix)
object DB   $db_row:  row


[ Top ]
disp_form  [line 102]

  void disp_form( )

TODO



[ Top ]
get_name  [line 146]

  string get_name( [string $format = 'htmlbody']  )

Template function: return name of item

Parameters:
string   $format:  Output format, see format_to_output()


[ Top ]
load_from_Request  [line 87]

  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:11:46 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).