TableRelationship
extends Component
in package
implements
ITableRelationship
AbstractYes
Tags
Table of Contents
Interfaces
Properties
- $column_name : string
- $delete_rule : string
- $name : string
- $referenced_column_name : string
- $referenced_table_name : string
- $referenced_table_schema_name : string
- $table_name : string
- $table_schema_name : string
- $update_rule : string
- $hashCode : int
- $hashCounter : int
- $relationship : array<string|int, mixed>
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- extends() : bool
- getColumnName() : string
- getDeleteRule() : string
- getName() : string
- getReferencedColumnName() : string
- getReferencedTable() : ITable
- Gets an instance of the referenced table in this table relationship
- getReferencedTableModel() : IModel
- Gets an instance of the model the referenced table represents
- getReferencedTableName() : string
- getReferencedTableSchema() : ISchema
- getReferencedTableSchemaName() : string
- getReflection() : ReflectionClass
- getTable() : ITable
- getTableModel() : IModel
- Gets an instance of the model the subject table represents
- getTableName() : string
- getTableSchema() : ISchema
- getTableSchemaName() : string
- getUpdateRule() : string
- init() : mixed
- {@inheritdoc}
- setColumnName() : mixed
- setDeleteRule() : mixed
- setName() : mixed
- setReferencedColumnName() : mixed
- setReferencedTableName() : mixed
- setReferencedTableSchemaName() : mixed
- setRelationship() : mixed
- setTableName() : mixed
- setTableSchemaName() : mixed
- setUpdateRule() : mixed
Properties
$column_name
protected
string
$column_name
$delete_rule
protected
string
$delete_rule
$name
protected
string
$name
$referenced_column_name
protected
string
$referenced_column_name
$referenced_table_name
protected
string
$referenced_table_name
$referenced_table_schema_name
protected
string
$referenced_table_schema_name
$table_name
protected
string
$table_name
$table_schema_name
protected
string
$table_schema_name
$update_rule
protected
string
$update_rule
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$relationship
private
array<string|int, mixed>
$relationship
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(array<string|int, mixed> $relationship) : mixed
Parameters
- $relationship : array<string|int, mixed>
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetColumnName()
public
getColumnName() : string
Return values
stringgetDeleteRule()
public
getDeleteRule() : string
Return values
stringgetName()
public
getName() : string
Tags
Return values
stringgetReferencedColumnName()
public
getReferencedColumnName() : string
Return values
stringgetReferencedTable()
Gets an instance of the referenced table in this table relationship
public
getReferencedTable() : ITable
Return values
ITablegetReferencedTableModel()
Gets an instance of the model the referenced table represents
public
getReferencedTableModel() : IModel
Tags
Return values
IModelgetReferencedTableName()
public
getReferencedTableName() : string
Return values
stringgetReferencedTableSchema()
public
getReferencedTableSchema() : ISchema
Return values
ISchemagetReferencedTableSchemaName()
public
getReferencedTableSchemaName() : string
Tags
Return values
stringgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetTable()
public
getTable() : ITable
Return values
ITablegetTableModel()
Gets an instance of the model the subject table represents
public
getTableModel() : IModel
Tags
Return values
IModelgetTableName()
public
getTableName() : string
Return values
stringgetTableSchema()
public
getTableSchema() : ISchema
Return values
ISchemagetTableSchemaName()
public
getTableSchemaName() : string
Return values
stringgetUpdateRule()
public
getUpdateRule() : string
Return values
stringinit()
{@inheritdoc}
protected
init() : mixed
Tags
setColumnName()
private
setColumnName(string $column_name) : mixed
Parameters
- $column_name : string
setDeleteRule()
private
setDeleteRule(string $delete_rule) : mixed
Parameters
- $delete_rule : string
setName()
private
setName(string $name) : mixed
Parameters
- $name : string
setReferencedColumnName()
private
setReferencedColumnName(string $referenced_column_name) : mixed
Parameters
- $referenced_column_name : string
setReferencedTableName()
private
setReferencedTableName(string $referenced_table_name) : mixed
Parameters
- $referenced_table_name : string
setReferencedTableSchemaName()
private
setReferencedTableSchemaName(string $referenced_table_schema_name) : mixed
Parameters
- $referenced_table_schema_name : string
setRelationship()
private
setRelationship(array<string|int, mixed> $relationship) : mixed
Parameters
- $relationship : array<string|int, mixed>
Tags
setTableName()
private
setTableName(string $table_name) : mixed
Parameters
- $table_name : string
Tags
setTableSchemaName()
private
setTableSchemaName(string $table_schema_name) : mixed
Parameters
- $table_schema_name : string
setUpdateRule()
private
setUpdateRule(string $update_rule) : mixed
Parameters
- $update_rule : string