The pagination->sort syntax can be seen here: http://api12.cakephp.org/class/paginator-helper#method-PaginatorHelpersort
which says sort(title, key, options) and it is in the options array that you put the class definition. Enjoy, John On Apr 21, 10:03 am, sebb86 <kahlc...@googlemail.com> wrote: > Hello and sry that i have to ask again. > But i dont know, what the correct syntax for the pagination is. > At the moment i have: > [code] > <?php echo $paginator->sort(array('asc' =>'id v', 'desc' =>'id ^'), > 'id'); ?> > [/code] > > How do i get class definitions inside? > [snip] Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en