/** * @constructor * @param array params */ function ListPage_Dashboard(&$params) { parent::ListPage_Embed($params); $this->dashSet = new ProjectSettings($this->dashTName); $this->dashElementData = $this->dashSet->getDashboardElementData($this->dashElementName); $this->showAddInPopup = $this->dashElementData["popupAdd"]; $this->showEditInPopup = $this->dashElementData["popupEdit"]; $this->showViewInPopup = $this->dashElementData["popupView"]; $this->formBricks["header"] = array(array("name" => "details_block", "align" => "right"), array("name" => "newrecord_controls_block", "align" => "right"), array("name" => "record_controls_block", "align" => "right")); $this->formBricks["footer"] = array("pagination_block"); }
/** * Constructor, set initial params * * @param array $params */ function ListPage_DPInline(&$params) { // copy properties to object //RunnerApply($this, $params); // call parent constructor parent::ListPage_Embed($params); $this->initDPInlineParams(); $this->searchClauseObj->clearSearch(); $this->jsSettings['tableSettings'][$this->tName]['mainMPageType'] = $this->mainMasterPageType; $this->jsSettings['tableSettings'][$this->tName]['masterPageType'] = $this->masterPageType; $this->jsSettings['tableSettings'][$this->tName]['masterTable'] = $this->masterTable; $this->jsSettings['tableSettings'][$this->tName]['firstTime'] = $this->firstTime; $this->jsSettings['tableSettings'][$this->tName]['strKey'] = $this->getStrMasterKey(); }
/** * Constructor, set initial params * * @param array $params */ function ListPage_Lookup(&$params) { // call parent constructor. always at the first line!!! parent::ListPage_Embed($params); // init params $this->initLookupParams(); $this->permis[$this->tName]["search"] = 1; $this->jsSettings['tableSettings'][$this->tName]['permissions'] = $this->permis[$this->tName]; $this->isUseAjaxSuggest = false; }
/** * Constructor, set initial params * * @param array $params */ function ListPage_Lookup(&$params) { // copy properties to object RunnerApply($this, $params); // init params $this->initLookupParams(); // call parent constructor parent::ListPage_Embed($params); $this->isUseAjaxSuggest = false; }