예제 #1
0
 /**
  * @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);
     }
 }
예제 #2
0
 /**
  * @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 = '';
 }
예제 #3
0
 /**
  * @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;
 }