OphTrIntravitrealinjection_InjectionUser::model PHP Method

model() public static method

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

Usage Example

コード例 #1
0
ファイル: AdminController.php プロジェクト: openeyes/openeyes
 public function actionDeleteInjectionUsers()
 {
     $criteria = new CDbCriteria();
     $criteria->addInCondition('id', @$_POST['user_id']);
     if (OphTrIntravitrealinjection_InjectionUser::model()->deleteAll($criteria)) {
         echo '1';
     } else {
         echo '0';
     }
 }
All Usage Examples Of OphTrIntravitrealinjection_InjectionUser::model
OphTrIntravitrealinjection_InjectionUser