/ Published in: PHP
                    
                                        
With this method you can overwrite the default settings.
So extbase will ignore the storage pid.
                So extbase will ignore the storage pid.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
class Tx_MyExtension_Domain_Repository_FooRepository extends Tx_Extbase_Persistence_Repository {
public function initializeObject() {
$querySettings = $this->objectManager->create('Tx_Extbase_Persistence_Typo3QuerySettings');
$querySettings->setRespectStoragePage(FALSE);
$this->setDefaultQuerySettings($querySettings);
}
}
URL: http://forge.typo3.org/projects/typo3v4-mvc/wiki/Default_Orderings_and_Query_Settings_in_Repository
Comments
 Subscribe to comments
                    Subscribe to comments
                
                