On Mon, Aug 8, 2011 at 7:03 AM, Wil Moore III <[email protected]> wrote:
>
> Fred Garlov wrote:
>> The problem I'm facing is, that it is impossible to add custom fields to
>> $paginator results. I'm getting an exception "specified column 'foo' not
>> in row".
> You can modify the actual select statement and add in anything you wish:
>
> SELECT 'custom1', 'custom2' FROM dual;
>
> or
>
> SELECT 'value1' as 'custom1', 'value2' as 'custom2' FROM dual;



Hi Wil,

it's pretty smart (and ugly?) hack. Thanks a lot!

Cheerz!


>
>
> -----
> --
> Wil Moore III
>
> Best Practices for Working with Open-Source Developers
> http://www.faqs.org/docs/artu/ch19s02.html
>
> Why is Bottom-posting better than Top-posting:
> http://www.caliburn.nl/topposting.html
>
> DO NOT TOP-POST and DO trim your replies:
> http://linux.sgms-centre.com/misc/netiquette.php#toppost
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/modify-db-paginator-results-tp3715067p3726118.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to