本文整理汇总了PHP中ilCustomInputGUI::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ilCustomInputGUI::__construct方法的具体用法?PHP ilCustomInputGUI::__construct怎么用?PHP ilCustomInputGUI::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilCustomInputGUI
的用法示例。
在下文中一共展示了ilCustomInputGUI::__construct方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($a_title, $a_postvar)
{
global $lng, $tpl, $ilUser;
$this->lng = $lng;
$this->lng->loadLanguageModule('dateplaner');
$this->user_settings = ilCalendarUserSettings::_getInstanceByUserId($ilUser->getId());
$tpl->addJavascript("./Services/Calendar/js/recurrence_input.js");
parent::__construct($a_title, $a_postvar);
}
示例2: __construct
public function __construct($title, $post_var)
{
global $lng;
parent::__construct($title, $post_var);
$this->title_input = new ilTextInputGUI($this->getTitle(), "display_" . $this->getPostVar());
$this->title_input->setDisabled(true);
$this->title_input->setInfo($lng->txt("dcl_ilias_refere\tnce_info"));
$this->search_input = new ilTextInputGUI($this->getTitle(), "search_" . $this->getPostVar());
$this->search_input->setDisabled(false);
$this->search_input->setInfo($lng->txt('dcl_ilias_reference_info'));
$this->hidden_input = new ilHiddenInputGUI($this->getPostVar());
}
示例3: __construct
/**
* @param string $title
* @param string $post_var
*/
public function __construct($title, $post_var)
{
global $lng, $tpl;
/**
* @var $tpl iltemplate
*/
parent::__construct($title, $post_var);
$tpl->addJavaScript('./Modules/DataCollection/js/ilDclTreeSearch.js');
$this->title_input = new ilTextInputGUI($this->getTitle(), "display_" . $this->getPostVar());
$this->title_input->setDisabled(true);
$this->title_input->setInfo($lng->txt("dcl_ilias_refere\tnce_info"));
$this->title_input->setInlineStyle('width: 98%; display:inline-block;');
$this->search_input = new ilTextInputGUI($this->getTitle(), "search_" . $this->getPostVar());
$this->search_input->setDisabled(false);
$this->search_input->setInfo($lng->txt('dcl_ilias_reference_info'));
$this->search_input->setInlineStyle('width: 98%; margin-top: 5px;');
$this->hidden_input = new ilHiddenInputGUI($this->getPostVar());
$this->lng = $lng;
}