public static function getInstance() { if (!self::$blogs_instance) { self::$blogs_instance = new Blogposts(); } return self::$blogs_instance; }
function setCollectionClass() { $this->Collection = Blogposts::getInstance(); }
function _update($data) { $tableName = Blogposts::getInstance()->tableName; $this->dropCache(); return parent::_update($data, $tableName); }