我无法FindBy
在 Extbase MVC 中运行魔术函数属性
$title=array(0 =>'Books Day');
$each_event=$this->eventRepository->findByTitle($title);
$each_event
正在返回一个类型的对象TYPO3\CMS\Extbase\Persistence\Generic\QueryResult
。
我该如何进行这项工作?
我还尝试将字符串传递给findByTitle
and findByOne
。两者都不起作用!:(
我正在使用 TYPO3 6.1 和扩展生成器。