LetterStringGroup::relations PHP Method

relations() public method

public relations ( ) : array
return 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('user' => array(self::BELONGS_TO, 'User', 'created_user_id'), 'usermodified' => array(self::BELONGS_TO, 'User', 'last_modified_user_id'), 'firmLetterStrings' => array(self::HAS_MANY, 'FirmLetterString', 'letter_string_group_id'), 'subspecialtyLetterStrings' => array(self::HAS_MANY, 'SubspecialtyLetterString', 'letter_string_group_id'), 'siteLetterStrings' => array(self::HAS_MANY, 'LetterString', 'letter_string_group_id'));
    }