Re: Fatal Error : Call to undefined method MydataSource::query()

2012-09-12 Thread Salines
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

Re: Fatal Error : Call to undefined method MydataSource::query()

2012-09-12 Thread Salines
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

Re: Fatal Error : Call to undefined method MydataSource::query()

2012-09-12 Thread lowpass
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(). > &

Fatal Error : Call to undefined method MydataSource::query()

2012-09-11 Thread Salines
* * * *}* 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