public function Tools() { if ($this->modelClass == 'ShopConfig') { return false; } else { return parent::Tools(); } }