本文整理汇总了PHP中HtmlInput::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlInput::__construct方法的具体用法?PHP HtmlInput::__construct怎么用?PHP HtmlInput::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlInput
的用法示例。
在下文中一共展示了HtmlInput::__construct方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($identifier, $label = NULL)
{
parent::__construct($identifier);
$this->setProperty("type", "checkbox");
$this->setProperty("class", "");
if (isset($label)) {
$this->setLabel($label, false);
}
}
示例2:
function __construct($name = "", $value = "", $p_id = "")
{
parent::__construct($name, $value, $p_id);
$this->fct = 'update_value';
$this->dblclick = '';
$this->callback = 'null';
$this->javascript = '';
// the pa_id to filter
$this->plan = 0;
// or the container of the Plan Analytic which contains the pa_id
$this->plan_ctl = "";
}
示例3:
function __construct($name = '', $value = '', $p_id = "")
{
parent::__construct($name, $value, $p_id);
$this->style = ' class="input_text" ';
}
示例4: __construct
public function __construct($name, $value = null)
{
$value = is_null($value) ? 1 : $value;
parent::__construct($name, 'checkbox', $value);
}
示例5: __construct
public function __construct($p_name = "", $p_value = "")
{
parent::__construct($p_name, $p_value);
$this->style = "display:inline";
}
示例6:
function __construct($name = "", $value = "", $p_id = "")
{
parent::__construct($name, $value);
$this->fct = 'update_value';
$this->dblclick = '';
$this->callback = 'null';
$this->javascript = '';
$this->id = $p_id != "" ? $p_id : $name;
$this->choice = null;
$this->indicator = null;
$this->choice_create = 1;
$this->autocomplete = 1;
$this->style = ' style="vertical-align:50%"';
}