Documentation

Set
in package
implements ComponentInterface

Table of Contents

Interfaces

ComponentInterface

Properties

$fields  : array<string|int, mixed>
$id  : int
$params  : array<string|int, mixed>
$positionalParams  : array<string|int, mixed>
$sets  : array<string|int, mixed>

Methods

__construct()  : mixed
__toString()  : string
create()  : Set
empty()  : bool
params()  : array<string|int, mixed>
parse()  : void
positionalFields()  : string
positionalParams()  : array<string|int, mixed>
positionalParamValues()  : array<string|int, mixed>
createSet()  : string
createValueField()  : string

Properties

$fields read-only

private array<string|int, mixed> $fields

$id

private int $id = 0

$params read-only

private array<string|int, mixed> $params

$positionalParams read-only

private array<string|int, mixed> $positionalParams

$sets read-only

private array<string|int, mixed> $sets

Methods

__construct()

public __construct(array<string|int, mixed> $fieldsWithValues) : mixed
Parameters
$fieldsWithValues : array<string|int, mixed>

__toString()

public __toString() : string
Return values
string

create()

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

empty()

public empty() : bool
Return values
bool

params()

public params() : array<string|int, mixed>
Return values
array<string|int, mixed>

parse()

public parse(array<string|int, mixed> $fieldsWithValues) : void
Parameters
$fieldsWithValues : array<string|int, mixed>

positionalFields()

public positionalFields() : string
Return values
string

positionalParams()

public positionalParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

positionalParamValues()

public positionalParamValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

createSet()

private createSet(string $quotedField, string $valueField) : string
Parameters
$quotedField : string
$valueField : string
Return values
string

createValueField()

private createValueField(string $field, int $id) : string
Parameters
$field : string
$id : int
Return values
string

        
On this page

Search results