public function getTagList($containing = null, array $fetchOptions = array()) { if (isset($fetchOptions['order']) && $fetchOptions['order'] == 'tinhte_xentag_view_count') { $this->_Tinhte_XenTag_checkLimitQueryResultViewCount = true; } $tagList = parent::getTagList($containing, $fetchOptions); $this->_Tinhte_XenTag_checkLimitQueryResultViewCount = false; return $tagList; }