RelationshipType

enum \TYPO3\CMS\Core\Schema\RelationshipType: string

Table of Contents

Cases

List  = 'list'
ManyToMany  = 'mm'
ManyToOne  = 'n:1'
OneToMany  = '1:n'
OneToOne  = '1:1'
Undefined  = ''

Methods

fromTcaConfiguration()  : self
hasMany()  : bool
hasOne()  : bool
isSingularRelationship()  : bool

Cases

Methods

fromTcaConfiguration()

public static fromTcaConfiguration(array $configuration) : self

Parameters

$configuration : array

Return values

self

hasMany()

public hasMany() : bool

Return values

bool

hasOne()

public hasOne() : bool

Return values

bool

isSingularRelationship()

public isSingularRelationship() : bool

Return values

bool
On this page