本文整理汇总了PHP中ilObject::ilObject方法的典型用法代码示例。如果您正苦于以下问题:PHP ilObject::ilObject方法的具体用法?PHP ilObject::ilObject怎么用?PHP ilObject::ilObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilObject
的用法示例。
在下文中一共展示了ilObject::ilObject方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ilObjMediaObject
/**
* Constructor
* @access public
*/
function ilObjMediaObject($a_id = 0)
{
$this->is_alias = false;
$this->media_items = array();
$this->contains_int_link = false;
$this->type = "mob";
parent::ilObject($a_id, false);
}
示例2: __construct
/**
* Constructor
*
* @access public
* @param
*
*/
public function __construct($a_id = 0, $a_call_by_reference = true)
{
global $ilBench;
$ilBench->start("Core", "ilObjPrivacySecurity_Constructor");
$this->type = "ps";
parent::ilObject($a_id, $a_call_by_reference);
$ilBench->stop("Core", "ilObjPrivacySecurity_Constructor");
}
示例3: ilObjStyleSheet
/**
* Constructor
* @access public
* @param integer reference_id or object_id
* @param boolean treat the id as reference_id (true) or object_id (false)
*/
function ilObjStyleSheet($a_id = 0, $a_call_by_reference = false)
{
$this->type = "sty";
$this->style = array();
if ($a_call_by_reference) {
$this->ilias->raiseError("Can't instantiate style object via reference id.", $this->ilias->error_obj->FATAL);
}
parent::ilObject($a_id, false);
}
示例4: ilObjSAHSLearningModule
/**
* Constructor
* @access public
* @param integer reference_id or object_id
* @param boolean treat the id as reference_id (true) or object_id (false)
*/
function ilObjSAHSLearningModule($a_id = 0, $a_call_by_reference = true)
{
$this->type = "sahs";
parent::ilObject($a_id, $a_call_by_reference);
}
示例5:
/**
* Constructor
* @access public
* @param integer reference_id or object_id
* @param boolean treat the id as reference_id (true) or object_id (false)
*/
function __construct($a_id = 0, $a_reference = true)
{
$this->initType();
parent::ilObject($a_id, $a_reference);
}