本文整理汇总了PHP中CTable::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP CTable::__construct方法的具体用法?PHP CTable::__construct怎么用?PHP CTable::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CTable
的用法示例。
在下文中一共展示了CTable::__construct方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->addClass(ZBX_STYLE_LIST_TABLE);
$this->setNoDataMessage(_('No data found.'));
$this->addMakeVerticalRotationJs = false;
}
示例2: __construct
public function __construct($groupid = 0, $style = STYLE_HORIZONTAL)
{
$this->groupid = $groupid;
$this->style = null;
parent::__construct(null, 'hosts_info');
$this->setOrientation($style);
}
示例3: __construct
public function __construct($groupid = 0, $style = STYLE_HORISONTAL)
{
$this->nodeid = id2nodeid($groupid);
$this->groupid = $groupid;
$this->style = null;
parent::__construct(NULL, "hosts_info");
$this->setOrientation($style);
}
示例4: __construct
public function __construct($style = STYLE_HORISONTAL)
{
$this->style = null;
parent::__construct(NULL, 'triggers_info');
$this->setOrientation($style);
$this->show_header = true;
$this->nodeid = get_current_nodeid();
$this->groupid = 0;
}
示例5: __construct
public function __construct($groupid = null, $hostid = null, $style = STYLE_HORISONTAL)
{
$this->style = null;
parent::__construct(NULL, 'triggers_info');
$this->setOrientation($style);
$this->show_header = true;
$this->groupid = is_null($groupid) ? 0 : $groupid;
$this->hostid = is_null($hostid) ? 0 : $hostid;
}
示例6: __construct
public function __construct($message = '...', $class = 'tableinfo')
{
parent::__construct($message, $class);
$this->setOddRowClass('odd_row');
$this->setEvenRowClass('even_row');
$this->attributes['cellpadding'] = 3;
$this->attributes['cellspacing'] = 1;
$this->headerClass = 'header';
$this->footerClass = 'footer';
}
示例7: __construct
public function __construct($header, $message = null)
{
parent::__construct(null, 'warningTable');
$this->setAlign('center');
$this->header = $header;
$this->message = $message;
$this->alignment = null;
$this->paddings = null;
$this->buttons = array();
}
示例8: __construct
public function __construct()
{
parent::__construct(null, 'server_info');
}
示例9:
function __construct() {
$ar_arg = func_get_args();
parent::__construct($ar_arg);
parent::$this->table['tablename'] = 'rdvContact';
}
示例10: __construct
public function __construct($groupid)
{
parent::__construct();
$this->addClass(ZBX_STYLE_LIST_TABLE);
$this->groupid = $groupid;
}