var paginate = array('conditions' =>array('Group.site_id ' => 28)); <
--- this works perfectly but what I'm trying to achieve is instead of
the "28" value being hard coded, i would like to put a variable at
it's place.
Like so: var paginate = array('conditions' =>array('Group.site_id
= '. $foobar .''));
Every users on the application will have different permissions on what
they will be able to see or not.
I'm not really sure if I'm on the right track with "paginate" here
btw, the code is in my controller.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---