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