SiteSubspecialtyAnaestheticAgent::relations PHP Метод

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

public relations ( ) : array
Результат array relational rules.
    public function relations()
    {
        return array('sites' => array(self::BELONGS_TO, 'Site', 'site_id'), 'subspecialties' => array(self::BELONGS_TO, 'Subspecialty', 'subspecialty_id'), 'agents' => array(self::BELONGS_TO, 'AnaestheticAgent', 'anaesthetic_agent_id'));
    }
SiteSubspecialtyAnaestheticAgent