List Info

Thread: Ordering findDependentRowset




Ordering findDependentRowset
user name
2007-04-28 08:27:40
Do we have a method of ordering result rowsets retrieved by
relationship?

I can't find out how for the life of me.

Cheers,
Luke

Re: Ordering findDependentRowset
user name
2007-04-28 10:03:07

Luke Barton wrote:
> 
> Do we have a method of ordering result rowsets
retrieved by relationship?
> 

http:
//framework.zend.com/issues/browse/ZF-1182 Read this
issue . It is not
exactly what you want - but covers in some part.
-- 
View this message in context: http://www.nabble.com/Ordering-
findDependentRowset-tf3662180s16154.html#a10233688
Sent from the Zend Framework mailing list archive at
Nabble.com.


Re: Ordering findDependentRowset
user name
2007-04-29 09:01:30
Alan Gabriel Bem wrote:
> 
> Luke Barton wrote:
>> Do we have a method of ordering result rowsets
retrieved by relationship?
>>
> 
> http:
//framework.zend.com/issues/browse/ZF-1182 Read this
issue . It is not
> exactly what you want - but covers in some part.

http:
//framework.zend.com/issues/browse/ZF-1241 also covers
similar
issues related to retrieving related row sets.

Regards,

Rob...

Re: Ordering findDependentRowset
user name
2007-04-29 12:11:03
Hi,

Just have an idea:
Is it make sense to have getDependentRowsetSelect(...) and then use:
$rowset = $row->getDependentRowsetSelect
(...)->where(...)->limit(...)->query(...);
and findDependentRowset() will call to this method first.

I think this will be a good solution that will not the complicate findDependentRowset() method and gives us a method to extend its behavior.

Sincerely,

P.S. Sorry, Rob. More recipients.


On 4/29/07, Rob Allen < robakrabat.com">robakrabat.com > wrote:
Alan Gabriel Bem wrote:
>;
> Luke Barton wrote:
>;> Do we have a method of ordering result rowsets retrieved by relationship?
>&gt;
>
&gt; http://framework.zend.com/issues/browse/ZF-1182 Read this issue . It is not
> exactly what you want - but covers in some part.

http://framework.zend.com/issues/browse/ZF-1241 also covers similar
issues related to retrieving related row sets.

Regards,

Rob...



--
Alex
http://www.alexatnet.com/ - Blog and CMS created with Zend Framework and Ajax.
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )