本文整理汇总了PHP中ilTextInputGUI::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ilTextInputGUI::__construct方法的具体用法?PHP ilTextInputGUI::__construct怎么用?PHP ilTextInputGUI::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilTextInputGUI
的用法示例。
在下文中一共展示了ilTextInputGUI::__construct方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->setSuffixes(array("jpg", "jpeg", "png", "gif"));
$this->setSize('25');
$this->validationRegexp = "";
}
示例2:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*
* @return \ilMatchingWizardInputGUI
*/
function __construct($a_title = "", $a_postvar = "")
{
global $lng;
parent::__construct($a_title, $a_postvar);
$this->setSuffixes(array("jpg", "jpeg", "png", "gif"));
$this->setSize('50');
$this->text_name = $lng->txt('answer_text');
$this->image_name = $lng->txt('answer_image');
}
示例3:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
global $lng;
$this->show_wizard = false;
$this->show_save_phrase = false;
$this->categorytext = $lng->txt('row_text');
$this->use_other_answer = false;
}
示例4: strtolower
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title, $a_postvar, $a_class, $a_autocomplete_cmd)
{
global $ilCtrl;
if (is_object($a_class)) {
$a_class = get_class($a_class);
}
$a_class = strtolower($a_class);
parent::__construct($a_title, $a_postvar);
$this->setInputType("raci");
$this->setMaxLength(70);
$this->setSize(30);
$this->setDataSource($ilCtrl->getLinkTargetByClass($a_class, $a_autocomplete_cmd, "", true));
}
示例5:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->setSize('25');
$this->validationRegexp = "";
}
示例6:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->setType("feedurl");
}
示例7: __construct
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
public function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->setType("color");
$this->setDefaultColor("04427e");
}
示例8:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->scale_disabled = true;
$this->scale_stylecss = 'text-align: right;';
}
示例9:
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
}
示例10: __construct
/**
* Constructor
*
* @param string $a_title Title
* @param string $a_postvar Post Variable
*/
public function __construct($a_title = "", $a_postvar = "")
{
parent::__construct($a_title, $a_postvar);
$this->setType("trbl_color");
$this->dirs = array("all", "top", "bottom", "left", "right");
}
示例11: __construct
/**
* Constructor
*/
public function __construct($a_title, $a_postvar)
{
parent::__construct($a_title, $a_postvar);
}