Documentation

Join
in package
implements ComponentInterface

Table of Contents

Interfaces

ComponentInterface

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
string

create()

public static create(array<string|int, mixed> $joins) : Join
Parameters
$joins : array<string|int, mixed>
Return values
Join

empty()

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
string

buildJoinString()

private buildJoinString(string $currentCollectionWithField, Join $join, null|string $onCollectionWithField) : string
Parameters
$currentCollectionWithField : string
$join : Join
$onCollectionWithField : null|string
Return values
string

joinString()

private joinString(string $join, string $onCollection, string $currentCollection, string $on) : string
Parameters
$join : string
$onCollection : string
$currentCollection : string
$on : string
Return values
string

parse()

private parse(array<string|int, mixed> $joins) : void
Parameters
$joins : array<string|int, mixed>

        
On this page

Search results