[TYPO3-mvc] own sorting with extbase

Sebastian Schreiber me at schreibersebastian.de
Fri Jan 24 12:13:34 CET 2014


i think this is gettings more complicated than i thought of.
Sorry, my solution won´t solve your request.



Am 24.01.2014 11:58, schrieb Alexander Averbukh:
> und bei der 2. Methode bekomme ich leider The method 
> "areElementsValid" is not supported by the repository
>
> Irgendwie habe ich immer noch nicht verstanden, wie du auf einzelne 
> Einträge zugreifst.
> Im Prinzip musste auch folgender Code funktionieren:
>
> $results = $query->execute();
> $rrr = array();
> foreach ($results as $result) {
>    $rrr[] = $result;
> }
> return $rrr;
>
> Tut aber nicht. Ich bekomme
> #1: PHP Catchable Fatal Error: Argument 1 passed to 
> Tx_News_ViewHelpers_Widget_PaginateViewHelper::render() must implement 
> interface TYPO3\CMS\Extbase\Persistence\QueryResultInterface, array 
> given in 
> D:\xampp\htdocs\t3\typo3conf\ext\news\Classes\ViewHelpers\Widget\PaginateViewHelper.php 
> line 66
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


-- 
Sebastian Schreiber
(Medieninformatiker B.Sc.)
(TYPO3 Certified Integrator)

Schanzenstraße 27, Schlosserei 4
D-51063 Köln

T  0221 677 88 541
M  0176 431 05 790

Skype schreibersebastian.de

me at schreibersebastian.de
www.schreibersebastian.de

Steuernummer: 219 / 5302 / 3123



More information about the TYPO3-project-typo3v4mvc mailing list