OphTrLaser_Laser_Operator::model PHP Method

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
return the static model class
    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }

Usage Example

Example #1
0
 public function actionDeleteOperators()
 {
     $criteria = new CDbCriteria();
     $criteria->addInCondition('id', $_POST['operators']);
     OphTrLaser_Laser_Operator::model()->deleteAll($criteria);
     echo '1';
 }
All Usage Examples Of OphTrLaser_Laser_Operator::model