Please be more clear in your question.

You cannot call model functions from a view.  You must call the model
function from your controller, and set() the data for the view.



On Dec 17, 3:09 pm, manuj bansal <[EMAIL PROTECTED]> wrote:
> my code is as follows
> ***********************************app_model.php
> (code)***************************
>
> function abc($y)
> {
>     $v = $this->query(using $y);
>     return $v;}
>
> *************************************default.ctp
> (code)**********************************
>
> i want to call above function frome here by passing some argument
>
> *********************************************************************************************
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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