Element_OphTrOperationbooking_ScheduleOperation::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

 public function getSchedule_timeframe()
 {
     return Element_OphTrOperationbooking_ScheduleOperation::model()->find('event_id=?', array($this->event_id));
 }