/** * @param CAdminPanel $oAdminPanel * @return ap_Simple_Screen */ public function __construct(CAdminPanel &$oAdminPanel, $sGlobalTemplateName, $aData = array()) { parent::__construct($oAdminPanel, CAdminPanel::RootPath() . 'core/templates/' . $sGlobalTemplateName); foreach ($aData as $sKey => $sText) { $this->Data->SetValue($sKey, $sText); } }
/** * @param CAdminPanel $oAdminPanel * @return ap_Standard_Screen */ public function __construct(CAdminPanel &$oAdminPanel) { parent::__construct($oAdminPanel, CAdminPanel::RootPath() . 'core/templates/standard.php'); $this->CssAddFile('static/styles/screens/standard.css'); $this->aMenu = array(); $this->sMode = ''; $this->aMenuDefMode = ''; }
/** * @param CAdminPanel $oAdminPanel * @return ap_Table_Screen */ public function __construct(CAdminPanel &$oAdminPanel) { parent::__construct($oAdminPanel, CAdminPanel::RootPath() . 'core/templates/table.php'); $this->CssAddFile('static/styles/screens/table.css'); $this->JsAddFile('static/js/screens/table.js'); $this->aTopMenu = array(); $this->sLowToolBarText = ''; $this->aHeaders = array(); $this->aListItems = array(); $this->aListItemsWithoutCheckbox = array(); $this->iLinesPerPage = AP_LINES_PER_PAGE; $this->iPage = 1; $this->iAllListCount = 0; $this->sOrderField = ''; $this->sDefaultOrderField = ''; $this->bOrderType = true; $this->bUseSort = false; $this->bSearchEnabled = true; $this->sSearchDesc = ''; $this->sEmptyListDesc = 'Empty'; $this->sEmptySearchDesc = 'Not found'; $this->Main = new ap_Table_Screen_Main($this); $this->Filter = null; }