OphTrOperationbooking_ScheduleOperation_PatientUnavailable::relations PHP Метод

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.
    public function relations()
    {
        // NOTE: you may need to adjust the relation name and the related
        // class name for the relations automatically generated below.
        return array('element' => array(self::BELONGS_TO, 'Element_OphTrOperationbooking_ScheduleOperation', 'element_id'), 'reason' => array(self::BELONGS_TO, 'OphTrOperationbooking_ScheduleOperation_PatientUnavailableReason', 'reason_id'), 'user' => array(self::BELONGS_TO, 'User', 'created_user_id'), 'usermodified' => array(self::BELONGS_TO, 'User', 'last_modified_user_id'));
    }