cricket :
>
> The method is in the DataSource object. Hence, you don't see an error
> when you call it properly.
>
Okay,
before your answer,
in my data source I put the following
*public function totalfeeds () {*
*
*
*// get data from remote source*
*
*
*}*
*
*
*public function query(){*
*retu
cricket :
>
> The method is in the DataSource object. Hence, you don't see an error
> when you call it properly.
>
Okay,
before your answer,
in my data source I put the following
*public function totalfeeds () {*
*
*
*// get data from remote source*
*
*
*}*
*
*
*public function query(){*
*retu
put the
>
> public function paginateCount ($conditions = null, $recursive = 0, $extra =
> array ()) {
> $countdata = $this-> totalfeeds ();
> return $countdata;
> }
>
> get an error from the title, Fatal Error : Call to undefined method
> MydataSource::query().
>
&
*
*
*
*}*
How can a call method within my model, in function paginateCount.
if put the
public function paginateCount ($conditions = null, $recursive = 0, $extra =
array ()) {
$countdata = $this-> totalfeeds ();
return $countdata;
}
get an error from the title, *Fatal Error : Call to undefined met