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