Example #1
0
 function setCollectionClass()
 {
     $this->Collection = Blogposts::getInstance();
 }
Example #2
0
 function _update($data)
 {
     $tableName = Blogposts::getInstance()->tableName;
     $this->dropCache();
     return parent::_update($data, $tableName);
 }