FuelPHP ORM do not return any data

81 views Asked by At

I start using Fuelphp v1.7.3 but if I want to get all data from my mysql table nothing happens. I have ORM autoloaded, my model has defined table name, primary key and also (as properties) all my columns from that table. But if i put to my controller

$data['pagedata'] = Model_Admin_Cms::find('all');

and

$this->template->content = View::forge('path/to/browse', $data);

and in view browse.php i have print_r($pagedata) it do nothing (nor in the debug bar there is 0 SQL queries).

Many thanks.

0

There are 0 answers