本文整理汇总了PHP中ilObjectGUI::ilObjectGUI方法的典型用法代码示例。如果您正苦于以下问题:PHP ilObjectGUI::ilObjectGUI方法的具体用法?PHP ilObjectGUI::ilObjectGUI怎么用?PHP ilObjectGUI::ilObjectGUI使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilObjectGUI
的用法示例。
在下文中一共展示了ilObjectGUI::ilObjectGUI方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->type = 'reps';
$this->lng->loadLanguageModule('rep');
$this->lng->loadLanguageModule('cmps');
}
示例2: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
global $lng;
$this->type = 'pdts';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$lng->loadLanguageModule("pd");
}
示例3: ilObjGlossaryGUI
/**
* Constructor
* @access public
*/
function ilObjGlossaryGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = true)
{
global $ilCtrl, $lng;
$this->ctrl =& $ilCtrl;
$this->ctrl->saveParameter($this, array("ref_id", "offset"));
$lng->loadLanguageModule("content");
$this->type = "glo";
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, false);
// determine term id and check whether it is valid (belongs to
// current glossary)
$this->term_id = (int) $_GET["term_id"];
$term_glo_id = ilGlossaryTerm::_lookGlossaryID($this->term_id);
if ($this->term_id > 0 && $term_glo_id != $this->object->getId()) {
$this->term_id = "";
}
$this->tax_id = $this->object->getTaxonomyId();
if ($this->tax_id > 0) {
$this->ctrl->saveParameter($this, array("show_tax", "tax_node"));
include_once "./Services/Taxonomy/classes/class.ilObjTaxonomy.php";
$this->tax = new ilObjTaxonomy($this->tax_id);
}
if ((int) $_GET["tax_node"] > 1 && $this->tax->getTree()->readRootId() != $_GET["tax_node"]) {
$this->tax_node = (int) $_GET["tax_node"];
}
}
示例4: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
$this->type = 'ps';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng->loadLanguageModule('ps');
ilObjPrivacySecurityGUI::$ERROR_MESSAGE = array(ilSecuritySettings::$SECURITY_SETTINGS_ERR_CODE_AUTO_HTTPS => $this->lng->txt("ps_error_message_https_header_missing"), ilSecuritySettings::$SECURITY_SETTINGS_ERR_CODE_HTTPS_NOT_AVAILABLE => $this->lng->txt('https_not_possible'), ilSecuritySettings::$SECURITY_SETTINGS_ERR_CODE_HTTP_NOT_AVAILABLE => $this->lng->txt('http_not_possible'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_INVALID_PASSWORD_MIN_LENGTH => $this->lng->txt('ps_error_message_invalid_password_min_length'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_INVALID_PASSWORD_MAX_LENGTH => $this->lng->txt('ps_error_message_invalid_password_max_length'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_INVALID_PASSWORD_MAX_AGE => $this->lng->txt('ps_error_message_invalid_password_max_age'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_INVALID_LOGIN_MAX_ATTEMPTS => $this->lng->txt('ps_error_message_invalid_login_max_attempts'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_PASSWORD_MIN_LENGTH_MIN2 => $this->lng->txt('ps_error_message_password_min2_because_chars_numbers'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_PASSWORD_MIN_LENGTH_MIN3 => $this->lng->txt('ps_error_message_password_min3_because_chars_numbers_sc'), ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_PASSWORD_MAX_LENGTH_LESS_MIN_LENGTH => $this->lng->txt('ps_error_message_password_max_less_min'));
}
示例5: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
$this->type = 'mcts';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng->loadLanguageModule('mcst');
$this->initMediaCastSettings();
}
示例6: ilObjContentObjectGUI
/**
* Constructor
*
* @access public
*/
function ilObjContentObjectGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = false)
{
global $lng, $ilCtrl;
//echo "<br>ilobjcontobjgui-constructor-id-$a_id";
$this->ctrl =& $ilCtrl;
$lng->loadLanguageModule("content");
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, false);
}
示例7: __construct
/**
* @param $a_data
* @param $a_id
* @param bool $a_call_by_reference
* @param bool $a_prepare_output
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
$this->type = 'bibs';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng->loadLanguageModule('bibl');
//Check Permissions globally for all SubGUIs. We only check write permissions
$this->checkPermission('write');
}
示例8: __construct
/**
* Constructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
global $lng;
$this->type = 'cals';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng = $lng;
$this->lng->loadLanguageModule('dateplaner');
$this->lng->loadLanguageModule('jscalendar');
}
示例9: ilObjMediaObjectGUI
function ilObjMediaObjectGUI($a_data, $a_id = 0, $a_call_by_reference = false, $a_prepare_output = false)
{
global $lng, $ilCtrl;
$this->ctrl =& $ilCtrl;
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng =& $lng;
$this->back_title = "";
$this->type = "mob";
}
示例10: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
global $ilCtrl;
$this->type = 'skmg';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng->loadLanguageModule('skmg');
include_once "./Services/Skill/classes/class.ilSkillTree.php";
$this->skill_tree = new ilSkillTree();
$ilCtrl->saveParameter($this, "obj_id");
}
示例11: ilObjFileBasedLMGUI
/**
* Constructor
*
* @access public
*/
function ilObjFileBasedLMGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = true)
{
global $lng, $ilCtrl;
$this->ctrl =& $ilCtrl;
$this->ctrl->saveParameter($this, array("ref_id"));
$this->type = "htlm";
$lng->loadLanguageModule("content");
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, false);
//$this->actions = $this->objDefinition->getActions("mep");
$this->output_prepared = $a_prepare_output;
}
示例12: ilObjGlossaryGUI
/**
* Constructor
* @access public
*/
function ilObjGlossaryGUI($a_data, $a_id = 0, $a_call_by_reference = true, $a_prepare_output = true)
{
global $ilCtrl, $lng;
$this->ctrl =& $ilCtrl;
$this->ctrl->saveParameter($this, array("ref_id", "offset"));
$lng->loadLanguageModule("content");
$this->type = "glo";
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, false);
// determine term id and check whether it is valid (belongs to
// current glossary)
$this->term_id = (int) $_GET["term_id"];
$term_glo_id = ilGlossaryTerm::_lookGlossaryID($this->term_id);
if ($this->term_id > 0 && $term_glo_id != $this->object->getId()) {
$this->term_id = "";
}
}
示例13: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
$this->type = "blga";
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
$this->lng->loadLanguageModule("blog");
}
示例14: __construct
/**
* Contructor
*
* @access public
*/
public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
{
$this->type = 'ps';
parent::ilObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
self::initErrorMessages();
}