I'm unable to run the FindBy
magic function property in Extbase MVC
$title=array(0 =>'Books Day');
$each_event=$this->eventRepository->findByTitle($title);
$each_event
is returning an object of type TYPO3\CMS\Extbase\Persistence\Generic\QueryResult
.
How do I make this work?
I also tried passing in a string to findByTitle
and findByOne
. Both don;t work! :(
I'm using TYPO3 6.1 and extension builder.