class JoinKeyword extends Component

JOIN keyword parser.

Properties

static array $JOINS Types of join.
string $type Type of this join.
Expression $expr Join expression.
Condition[] $on Join conditions.
ArrayObj $using Columns in Using clause.

Methods

static mixed
parse(Parser $parser, TokensList $list, array $options = array())

No description

static string
build(mixed $component, array $options = array())

No description

string
__toString()

Builds the string representation of a component of this type.

from Component
__construct(string $type = null, Expression $expr = null, Condition[] $on = null, ArrayObj $using = null)

Constructor.

Details

at line 101
static mixed parse(Parser $parser, TokensList $list, array $options = array())

Parameters

Parser $parser the parser that serves as context
TokensList $list the list of tokens that are being parsed
array $options parameters for parsing

Return Value

mixed

at line 215
static string build(mixed $component, array $options = array())

Parameters

mixed $component the component to be built
array $options parameters for building

Return Value

string

in Component at line 73
string __toString()

Builds the string representation of a component of this type.

Return Value

string

See also

at line 86
__construct(string $type = null, Expression $expr = null, Condition[] $on = null, ArrayObj $using = null)

Constructor.

Parameters

string $type Join type
Expression $expr join expression
Condition[] $on join conditions
ArrayObj $using columns joined

See also