function ReportLogic($sql, $order, $connection, $groupsTotal, $groupsPerPage, &$params, $searchWhereClause, $searchHavingClause, $pageObject = null) { RunnerApply($this, $params); Summarable::Summarable($params); $this->_connection = $connection; $this->cipherer = new RunnerCipherer($this->tName); $this->_sql = new SQLStatement($sql, $order, $groupsTotal, $connection, $params, $searchWhereClause, $searchHavingClause, $this->cipherer); $this->_groups = new ReportGroups($this->_sql, $connection, $groupsTotal, $params); $this->_groupsTotal = $groupsTotal; $this->_groupsPerPage = $groupsPerPage; $this->pSet = new ProjectSettings($this->tName, PAGE_REPORT); if (is_null($pageObject)) { include_once getabspath('classes/controls/ViewControlsContainer.php'); $this->pageObject = new ViewControlsContainer($this->pSet, PAGE_REPORT); } else { $this->pageObject = $pageObject; } $this->init(); }
function ReportLogic($sql, $order, &$searchClauseObj, $connection, $pagesize, $printpagesize, &$params, $pageObject = null) { RunnerApply($this, $params); Summarable::Summarable($params); $this->_connection = $connection; $this->searchClauseObj = $searchClauseObj; $this->_sql = new SQLStatement($sql, $order, $pagesize, $connection, $searchClauseObj, $params); $this->_groups = new ReportGroups($this->_sql, $connection, $pagesize, $params); $this->_pagesize = $pagesize; $this->_printpagesize = $printpagesize < 0 ? $pagesize : $printpagesize; if ($this->searchClauseObj->isUsedSrch()) { $this->_sql->initWhere(); } $this->pSet = new ProjectSettings($this->tName, PAGE_REPORT); $this->cipherer = new RunnerCipherer($this->tName); if (is_null($pageObject)) { include_once getabspath('classes/controls/ViewControlsContainer.php'); $this->pageObject = new ViewControlsContainer($this->pSet, PAGE_REPORT); } else { $this->pageObject = $pageObject; } $this->init(); }
function ReportLogic($sql, $order, &$searchClauseObj, $connection, $pagesize, $printpagesize, &$params) { RunnerApply($this, $params); Summarable::Summarable($params); $this->_connection = $connection; $this->searchClauseObj = $searchClauseObj; $this->_sql = new SQLStatement($sql, $order, $pagesize, $connection, $searchClauseObj, $params); $this->_groups = new ReportGroups($this->_sql, $connection, $pagesize, $params); $this->_pagesize = $pagesize; $this->_printpagesize = $printpagesize < 0 ? $pagesize : $printpagesize; if ($this->searchClauseObj->isUsedSrch()) { $this->_sql->initWhere(); } $this->init(); }