The followings are the available columns in table:
Inheritance: extends BaseActiveRecordVersioned
Example #1
0
 public function actionDeleteOperators()
 {
     $criteria = new CDbCriteria();
     $criteria->addInCondition('id', $_POST['operators']);
     OphTrLaser_Laser_Operator::model()->deleteAll($criteria);
     echo '1';
 }
 public function getSurgeons()
 {
     if (!$this->operatorlist) {
         $this->operatorlist = array();
         foreach (OphTrLaser_Laser_Operator::model()->with('operator')->findAll(array('order' => 'first_name asc, last_name asc')) as $laser_operator) {
             $this->operatorlist[] = $laser_operator->operator;
         }
     }
     return $this->operatorlist;
 }