Ah yes I am, 1.03, in that case I shall do things the slightly longer way
intil 1.5 is classed as stable :)
If any documentation people are watching when im reading the online examples
docs its not clear what is 1.5 and what isnt, I know I can download
the 1.03specific stuff but I find learning by example the best way.

For anyone wanting to do what Im trying to do in < 1.5 have a look at this
http://www.refreshinglyblue.com/2008/02/14/how-to-sort-a-zend_db_table_rowset/

Its not very effiecient but does the trick

On 25/02/2008, Simon Mundy <[EMAIL PROTECTED]> wrote:
>
> Sounds like you're using a pre-1.5 release of Zend Framework. Modifying
> dependent rowset queries wasn't added until then. Try d/loading 1.5RC1 or
> the latest trunk from SVN
> Cheers
>
> $select = $r->select()->order( 'id ASC' );*
>
> *Gives me an error of*
>
> Fatal error*: Call to undefined method Recipe::select()
>
> However...
>
> $select = $r->getAdapter()->select()->order( 'id ASC' );
>
> does not but still doesnt dort them by the ID of the Ingredients table
>
> On 25/02/2008, Xaviar Rigo <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for the replies but thats not working either, cant even see the
> > error at the moment but trying to find out why.
> >
> > On 25/02/2008, Simon Mundy <[EMAIL PROTECTED]> wrote:
> > >
> > > Try
> > > $select = $r->select()->order( 'id ASC' );
> > > $ingredientsForRecipe = $recipe->findDependentRowset('Ingredients',
> > > null, $select);
> > >
> > > The second argument for findDependentRowset specifies a rule name, the
> > > third is for the select object.
> > >
> > > Kind regards
> > >
> > > $select = $r->select()->order( 'id ASC' );
> > > $ingredientsForRecipe = $recipe->findDependentRowset('Ingredients',
> > > $select);
> > >
> > >
> > >    --
> > >
> > > Simon Mundy | Director | PEPTOLAB
> > >
> > > """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
> > >
> > > 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
> > > Voice [image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif]+61 (0) 3 9654 4324 |
> > > Mobile [image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif][image: Web Bug from
> > > chrome://skype_ff_toolbar_win/content/space.gif]0438 046 061 | Fax +61
> > > (0) 3 9654 4124
> > > http://www.peptolab.com
> > >
> > >
> >
>
> --
>
> Simon Mundy | Director | PEPTOLAB
>
> """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
>
> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
> http://www.peptolab.com
>
>

Reply via email to