ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilPageObjectFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilPageObjectFactory:

Static Public Member Functions

static getInstance (string $a_parent_type, int $a_id=0, int $a_old_nr=0, string $a_lang="-")
 Get page object instance. More...
 
static getConfigInstance (string $a_parent_type)
 Get page config instance. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Page object factory

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilPageObjectFactory.php.

Member Function Documentation

◆ getConfigInstance()

static ilPageObjectFactory::getConfigInstance ( string  $a_parent_type)
static

Get page config instance.

Definition at line 45 of file class.ilPageObjectFactory.php.

47 : ilPageConfig {
48 $def = ilCOPageObjDef::getDefinitionByParentType($a_parent_type);
49 $class = $def["class_name"] . "Config";
50 $path = "./" . $def["component"] . "/" . $def["directory"] . "/class." . $class . ".php";
51 $cfg = new $class();
52
53 return $cfg;
54 }
static getDefinitionByParentType(string $a_parent_type)
Get definition by parent type.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$path
Definition: ltiservices.php:30

Referenced by ilPageObject\initPageConfig().

+ Here is the caller graph for this function:

◆ getInstance()

static ilPageObjectFactory::getInstance ( string  $a_parent_type,
int  $a_id = 0,
int  $a_old_nr = 0,
string  $a_lang = "-" 
)
static

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