本文整理匯總了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);
}