model() public static méthode

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : ProductFilter
$className string active record class name.
Résultat ProductFilter the static model class
Exemple #1
0
 public function clearAllFiltersRelations()
 {
     ProductFilter::model()->deleteAllByAttributes(array('product_id' => $this->product_id));
 }