當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CTable::__construct方法代碼示例

本文整理匯總了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;
 }
開發者ID:jbfavre,項目名稱:debian-zabbix,代碼行數:7,代碼來源:CTableInfo.php

示例2: __construct

 public function __construct($groupid = 0, $style = STYLE_HORIZONTAL)
 {
     $this->groupid = $groupid;
     $this->style = null;
     parent::__construct(null, 'hosts_info');
     $this->setOrientation($style);
 }
開發者ID:omidmt,項目名稱:zabbix-greenplum,代碼行數:7,代碼來源:CHostsInfo.php

示例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);
 }
開發者ID:songyuanjie,項目名稱:zabbix-stats,代碼行數:8,代碼來源:class.chostsinfo.php

示例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;
 }
開發者ID:rennhak,項目名稱:zabbix,代碼行數:9,代碼來源:class.ctriggersinfo.php

示例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;
 }
開發者ID:songyuanjie,項目名稱:zabbix-stats,代碼行數:9,代碼來源:class.ctriggersinfo.php

示例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';
 }
開發者ID:itnihao,項目名稱:zatree-2.2,代碼行數:10,代碼來源:class.ctableinfo.php

示例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();
 }
開發者ID:omidmt,項目名稱:zabbix-greenplum,代碼行數:10,代碼來源:CWarning.php

示例8: __construct

 public function __construct()
 {
     parent::__construct(null, 'server_info');
 }
開發者ID:quanta-computing,項目名稱:debian-packages,代碼行數:4,代碼來源:class.cserverinfo.php

示例9:

	function __construct() {
		$ar_arg = func_get_args();
		parent::__construct($ar_arg);
		parent::$this->table['tablename'] = 'rdvContact';
	}
開發者ID:rakotobe,項目名稱:Rakotobe,代碼行數:5,代碼來源:contact.php

示例10: __construct

 public function __construct($groupid)
 {
     parent::__construct();
     $this->addClass(ZBX_STYLE_LIST_TABLE);
     $this->groupid = $groupid;
 }
開發者ID:jbfavre,項目名稱:debian-zabbix,代碼行數:6,代碼來源:CTriggersInfo.php


注:本文中的CTable::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。