OperativeDevice::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('siteSubspecialtyAssignments' => array(self::HAS_MANY, 'SiteSubspecialtyOperativeDevice', 'operative_device_id'));
    }