public function _before() { $this->initUsedModel(); // $this->connection = common\connection::getConnection(); $this->cache = common\cache::getCache(); $this->rankCache = common\cache::getRankCache(); return true; }