b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.9) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: Element

Source Location: /blogs/inc/MODEL/_misc/_element.class.php

Class Element

Class Overview

User Element

Element of users with specific permissions.

Located in /blogs/inc/MODEL/_misc/_element.class.php [line 43]

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

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DataObject

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

Inherited From DataObject

DataObject::DataObject()
Constructor
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::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::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.

[ Top ]
Property Summary
string   $name   Name of Element

[ Top ]
Method Summary
Element   Element()   Constructor
void   name()   Template function: display name of item
void   name_return()   Template function: return name of item

[ Top ]
Properties
string   $name [line 51]

Name of Element

API Tags:
Access:  protected


[ Top ]
Methods
Constructor Element  [line 62]

  Element Element( 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 ]
name  [line 86]

  void name( [string $format = 'htmlbody'], [ $disp = true]  )

Template function: display name of item

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


[ Top ]
name_return  [line 104]

  void name_return( [string $format = 'htmlbody']  )

Template function: return name of item

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


[ Top ]

Documentation generated on Tue, 18 Dec 2007 19:14:11 +0100 by phpDocumentor 1.4.0