Join
in package
implements
ComponentInterface
Table of Contents
Interfaces
Properties
- $joined : string
Methods
- __construct() : mixed
- __toString() : string
- create() : Join
- empty() : mixed
- buildCustomJoinString() : string
- * Format: $join->buildCustomString('UserRole.UserID = User.UserID', QueryJoin::INNER)
- buildJoinString() : string
- joinString() : string
- parse() : void
Properties
$joined read-only
private
string
$joined
Methods
__construct()
public
__construct(array<string|int, mixed> $joins) : mixed
Parameters
- $joins : array<string|int, mixed>
__toString()
public
__toString() : string
Return values
stringcreate()
public
static create(array<string|int, mixed> $joins) : Join
Parameters
- $joins : array<string|int, mixed>
Return values
Joinempty()
public
empty() : mixed
buildCustomJoinString()
* Format: $join->buildCustomString('UserRole.UserID = User.UserID', QueryJoin::INNER)
private
buildCustomJoinString(string $customString, Join $join) : string
Parameters
- $customString : string
- $join : Join
Return values
stringbuildJoinString()
private
buildJoinString(string $currentCollectionWithField, Join $join, null|string $onCollectionWithField) : string
Parameters
- $currentCollectionWithField : string
- $join : Join
- $onCollectionWithField : null|string
Return values
stringjoinString()
private
joinString(string $join, string $onCollection, string $currentCollection, string $on) : string
Parameters
- $join : string
- $onCollection : string
- $currentCollection : string
- $on : string
Return values
stringparse()
private
parse(array<string|int, mixed> $joins) : void
Parameters
- $joins : array<string|int, mixed>