[TYPO3-mvc] How to access hidden records
Surena Golijani
info at homepagefarmer.de
Tue May 18 17:39:59 CEST 2010
Hi everybody,
I need to hide/unhide objects. I included the hidden field in the model
of my object with getters/setters so that I can hide it now, but finding
hidden objects by the repository doesn't work:
$query->matching($query->equals('hidden', 1))
->setOrderings(array('companyname' =>
Tx_Extbase_Persistence_QueryInterface::ORDER_ASCENDING))
->execute();
For sure there is a more "extbase-way" to do it, but I couldn't find it
in the documentation available in the net...
Did anybody had a similar problem or news a solution to this?
Thank you in advance!
Surena
More information about the TYPO3-project-typo3v4mvc
mailing list