namespace blog; class Model_Post extends \Orm\Model { protected static $_primary_key = array('vid'); protected static $_properties = array('vid', 'onto_id', 'created','summary','content','related_links','author_id'); protected static $_table_name = 'onto_post'; }
$posts = Model_Post::find() ->order_by('created', 'desc') ->limit(10) ->get();
OutOfBoundsException [ Error ]: Property "id" not found for blog\Model_Post. PKGPATH/orm/classes/model.php @ line 807
802 } 803 return $this->_data_relations[$property]; 804 } 805 else 806 { 807 throw new \OutOfBoundsException('Property "'.$property.'" not found for '.get_called_class().'.'); 808 } 809 } 810 811 /** 812 * Set
It looks like you're new here. If you want to get involved, click one of these buttons!