Ok this might not make much sense written out but here goes. 

User has a setting to remove or keep certain pages from displaying in
paginated results.

 

So what I am currently doing in the pagination is passing the pages they do
not want to see again (marked as not interested) 

as an array of id's like 'NOT' => array('Market.id' => $remove) so this
stops those pages from being grabbed. It works fine the way it is

but was wondering if it would be better to simply add a contain Market and
then unset keys where the user has a Market.page_id => 1?

 

Any opinions, ideas?

 

Thanks,

 

Dave

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to