PHP Class Bravo3\Orm\Enum\RelationshipType

Inheritance: extends Eloquent\Enumeration\AbstractEnumeration
ファイルを表示 Open project: bravo3/orm Class Usage Examples

Public Methods

Method Description
getInverseRelationship ( RelationshipType $relationship_type ) : RelationshipType Get the inverse relationship type of the given relationship type
isMultiIndex ( RelationshipType $relationship_type ) : boolean Check if the given relationship type contains multiple values

Method Details

getInverseRelationship() public static method

Get the inverse relationship type of the given relationship type
public static getInverseRelationship ( RelationshipType $relationship_type ) : RelationshipType
$relationship_type RelationshipType
return RelationshipType

isMultiIndex() public static method

Check if the given relationship type contains multiple values
public static isMultiIndex ( RelationshipType $relationship_type ) : boolean
$relationship_type RelationshipType
return boolean