WorklistDefinitionMapping::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('worklist_definition' => array(self::BELONGS_TO, 'WorklistDefinition', 'worklist_definition_id'), 'values' => array(self::HAS_MANY, 'WorklistDefinitionMappingValue', 'worklist_definition_mapping_id'));
    }