OphTrOperationbooking_Operation_Procedures::relations PHP Méthode

relations() public méthode

public relations ( ) : array
Résultat 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_Operation', 'element_id'), 'procedure' => array(self::BELONGS_TO, 'Procedure', 'proc_id'), 'user' => array(self::BELONGS_TO, 'User', 'created_user_id'), 'usermodified' => array(self::BELONGS_TO, 'User', 'last_modified_user_id'));
    }