Documentation

SchemaMap
in package

Table of Contents

Properties

$tables  : array<string|int, Table>

Methods

addTable()  : $this
Adds a table to the schema map if it has not already been added
addTables()  : mixed
getLink()  : Joinable|null
getTableByName()  : Table|null
getTables()  : array<string|int, Table>

Properties

Methods

addTable()

Adds a table to the schema map if it has not already been added

public addTable(Table $table) : $this
Parameters
$table : Table
Return values
$this

addTables()

public addTables(array<string|int, mixed> $tables) : mixed
Parameters
$tables : array<string|int, mixed>
public getLink(mixed $baseTableName, mixed $targetTableAlias) : Joinable|null
Parameters
$baseTableName : mixed
$targetTableAlias : mixed
Tags
throws
CRM_Core_Exception
Return values
Joinable|null

Link to the target table

getTableByName()

public getTableByName(mixed $name) : Table|null
Parameters
$name : mixed
Return values
Table|null

getTables()

public getTables() : array<string|int, Table>
Return values
array<string|int, Table>

        
On this page

Search results