php - CakePHP saving data from Google Analytics -


i've been working plugin: http://www.neilcrookes.com/2009/09/27/get-google-analytics-data-in-your-cakephp/ it's on head.

under analytic.php seems usetable set false, however, when it's true throws error. new cake , cake plugins, maybe interacting wrong way.

i'd save dimensions , metrics being pulled database using cake. direction appreciated.

the model has usetable = false using datasource data. cant set true, , wont work other way. if want save create new model db table normal , following.

in new model...

$data = classregistry::init('analiticsmodel')->findmethod(); 

then manipulate how need

$this->save($data); 

its in db... can $this->find() <-- normal cake stuff on new model


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -