ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCOPageObjDef Class Reference

COPage page object definition handler. More...

+ Collaboration diagram for ilCOPageObjDef:

Public Member Functions

 getDefinitions ()
 Get definitions.

Static Public Member Functions

static init ()
 Init.
static getDefinitionByParentType ($a_parent_type)
 Get definition by parent type.

Static Public Attributes

static $page_obj_def = null

Detailed Description

COPage page object definition handler.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 12 of file class.ilCOPageObjDef.php.

Member Function Documentation

static ilCOPageObjDef::getDefinitionByParentType (   $a_parent_type)
static

Get definition by parent type.

Parameters
string$a_parent_typeparent type
Returns
array definition

Definition at line 54 of file class.ilCOPageObjDef.php.

References init().

Referenced by ilPageObjectFactory\getConfigInstance(), and ilPageObjectFactory\getInstance().

{
return self::$page_obj_def[$a_parent_type];
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilCOPageObjDef::getDefinitions ( )

Get definitions.

Parameters
@return

Definition at line 42 of file class.ilCOPageObjDef.php.

References $page_obj_def, and init().

+ Here is the call graph for this function:

static ilCOPageObjDef::init ( )
static

Init.

Parameters
@return

Definition at line 22 of file class.ilCOPageObjDef.php.

References $ilDB.

Referenced by getDefinitionByParentType(), and getDefinitions().

{
global $ilDB;
if (self::$page_obj_def == null)
{
$set = $ilDB->query("SELECT * FROM copg_pobj_def ");
while ($rec = $ilDB->fetchAssoc($set))
{
self::$page_obj_def[$rec["parent_type"]] = $rec;
}
}
}

+ Here is the caller graph for this function:

Field Documentation

ilCOPageObjDef::$page_obj_def = null
static

Definition at line 14 of file class.ilCOPageObjDef.php.

Referenced by getDefinitions().


The documentation for this class was generated from the following file: