[TYPO3-mvc] writing backend module

Alexander Dick typo3 at dick.at
Tue Feb 7 17:59:55 CET 2012


PS: You also can also setRespectStoragePage to FALSE if you want to 
display all records, regardless of the storagePid:

class Tx_Xxx_Domain_Repository_ApplicationRepository extends 
Tx_Extbase_Persistence_Repository {

	public function initializeObject() {
          $this->defaultQuerySettings = 
$this->objectManager->create('Tx_Extbase_Persistence_Typo3QuerySettings');
          $this->defaultQuerySettings->setRespectStoragePage(FALSE);
     }

}

--
Kind regards
Alex


More information about the TYPO3-project-typo3v4mvc mailing list