Element_OphTrOperationnote_ProcedureList::model PHP Method

model() public static method

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

Usage Example

 /**
  * The eye of the procedure is stored in the parent procedure list element.
  *
  * @return Eye
  */
 public function getEye()
 {
     return Element_OphTrOperationnote_ProcedureList::model()->find('event_id=?', array($this->event_id))->eye;
 }
All Usage Examples Of Element_OphTrOperationnote_ProcedureList::model