public function getPageData() { $classObject = tx_div2007::makeInstance('tx_div2007_object', $this->controller, $GLOBALS['TSFE']->page); return $classObject; }
/** * Export the data as an object containing a list of objects * * This object has to contain a list of hash data. * The hash data is created into the exported object as hash objects. * The classes of the exported object and the entries are take as arguments. * * @param string Classname of exported object, defaults to tx_div2007_object. * @param string Classname of exported entries, defaults to tx_div2007_object. * @return object The exported object. */ public function toObjectOfObjects($outputListClass = 'tx_div2007_object', $outputEntryClass = 'tx_div2007_object') { $this->checkController(__FILE__, __LINE__); $outputList = tx_div2007::makeInstance($outputListClass); $outputList->controller = $this->controller; for ($this->rewind(); $this->valid(); $this->next()) { $outputEntryObject = tx_div2007::makeInstance($outputEntryClass, $this->controller, tx_div2007::toHashArray($this->current())); $outputList->append($outputEntryObject); } return $outputList; }
/** * Creates a parameters object. * * @return the parameters object * @access protected */ public function _createParameters() { $classObject = tx_div2007::makeInstance($this->parametersClassName, $this); return $classObject; }