[TYPO3-mvc] $query-Object style question
Stefan Frömken
firma at sfroemken.de
Tue Aug 30 18:56:58 CEST 2011
Hello MVC-Team,
is there a possibility to get this to work?
return $this->createQuery()
->matching($query->equals('pid', $type))
->setLimit($amount)
->setOrderings(array(
'datetime' => Tx_Extbase_Persistence_QueryInterface::ORDER_DESCENDING,
))
->execute()
->toArray();
The problem is $query->equals. But how to write it correctly.
Stefan
More information about the TYPO3-project-typo3v4mvc
mailing list