ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilPageObjectFactory Class Reference
+ 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="-")
 

Detailed Description

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

Member Function Documentation

◆ getInstance()

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

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

28 : ilPageObject {
29 $def = ilCOPageObjDef::getDefinitionByParentType($a_parent_type);
30 $class = $def["class_name"];
31 $obj = new $class($a_id, $a_old_nr, $a_lang);
32
33 return $obj;
34 }
static getDefinitionByParentType(string $a_parent_type)
Get definition by parent type.
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)

Referenced by ilPageObjectGUI\compareVersion(), ilPCLayoutTemplate\create(), ilPCContentTemplate\create(), ilPageObjectGUI\createPageTranslation(), ilLearningModuleImporter\finalProcessing(), ilMediaObjectUsagesTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilCOPageExporter\getXmlRepresentation(), ilPageObjectGUI\initPageObject(), ilQuestionPageParser\processPagesToParse(), ILIAS\COPage\ReadingTime\ReadingTimeManager\setMissingReadingTimes(), and ilPageObjectGUI\showMediaFullscreen().

+ Here is the caller graph for this function:

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