Try:

$this->request->query['_value'];

Andras Kende



On Jun 4, 2012, at 4:31 AM, hoss7 wrote:

> i have cakephp 2.1.2 and when i am run:               pr($this->params);
> i have this:
> akeRequest Object
> (
>     [params] => Array
>         (
>             [plugin] => 
>             [controller] => subjectcats
>             [action] => shahrlist
>             [named] => Array
>                 (
>                 )
> 
>             [pass] => Array
>                 (
>                 )
> 
>             [isAjax] => 
>         )
> 
>     [data] => Array
>         (
>         )
> 
>     [query] => Array
>         (
>             [_id] => DocumentSubjectId
>             [_name] => data[Document][subject_id]
>             [_value] => 2
>         )
> 
> how can i get "2" ? from this result
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to