/** * We implement template method for initializing backend */ protected function initBackend() { parent::initBackend(); // As pager->getCurrentPage is requested during $this->getTotalItemsCount(), // we have to set it to infty first and later set correct item count! $this->pagerCollection->setItemCount(PHP_INT_MAX); }
/** * Constructor for dummy data backend * * @param Tx_PtExtlist_Domain_Configuration_ConfigurationBuilder $configurationBuilder */ public function __construct(Tx_PtExtlist_Domain_Configuration_ConfigurationBuilder $configurationBuilder) { parent::__construct($configurationBuilder); }
/** * Injects a query interpreter * * This method is overwritten to make sure that correct type for interpreter is injected * * TODO this method is not really required ATM, as all methods in query interpreter are static ATM * * @param Tx_PtExtlist_Domain_DataBackend_ExtBaseDataBackend_ExtBaseInterpreter_ExtBaseInterpreter $queryInterpreter */ public function _injectQueryInterpreter($queryInterpreter) { Tx_PtExtbase_Assertions_Assert::isTrue($queryInterpreter instanceof Tx_PtExtlist_Domain_DataBackend_ExtBaseDataBackend_ExtBaseInterpreter_ExtBaseInterpreter); parent::_injectQueryInterpreter($queryInterpreter); }