public static function model($className = __CLASS__) { return parent::model($className); }
public function clearAllFiltersRelations() { ProductFilter::model()->deleteAllByAttributes(array('product_id' => $this->product_id)); }