Documentation

FromClause extends Clause
in package
implements IFromClause

FinalYes
Tags
author

Ramone Burrell ramone@ramoneburrell.com

since

Version 0.1.0

Table of Contents

Interfaces

IFromClause

Properties

$joins  : ArrayObject
A set of joins for the referenced tables within this from clause
$referenced_table_names  : array<string|int, mixed>
A list of the names of the tables which are referenced tables within this from clause.
$statement  : IStatement
$table_references  : ArrayObject
A set of tables which are referenced in this from clause. This includes the table being directly selected/deleted from as well as those being indirectly selected/deleted from using joins
$tables_to_join  : array<string|int, mixed>
$hashCode  : int
$hashCounter  : int

Methods

__call()  : mixed
__callStatic()  : mixed
__construct()  : mixed
__destruct()  : mixed
__get()  : mixed
__toString()  : string
extends()  : bool
getReflection()  : ReflectionClass
getStatement()  : IStatement
getTableReferences()  : ArrayObject
joinTable()  : mixed
init()  : mixed
{@inheritdoc}
addReferencedTable()  : mixed
createJoin()  : ITable
getJoins()  : ArrayObject
isReferencedTable()  : bool
joinTables()  : void
setStatement()  : mixed

Properties

$joins

A set of joins for the referenced tables within this from clause

protected ArrayObject $joins

$table_references

A set of tables which are referenced in this from clause. This includes the table being directly selected/deleted from as well as those being indirectly selected/deleted from using joins

protected ArrayObject $table_references

Methods

__callStatic()

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>

__get()

public __get(string $property) : mixed
Parameters
$property : string

extends()

public extends(ReflectionClass $reflector) : bool
Parameters
$reflector : ReflectionClass
Return values
bool

getReflection()

public getReflection() : ReflectionClass
Return values
ReflectionClass

joinTable()

public joinTable(ITable|string $table[, string $type = IFromClause::JOIN_TYPE_INNER ][, string $alias = null ]) : mixed
Parameters
$table : ITable|string
$type : string = IFromClause::JOIN_TYPE_INNER
$alias : string = null

The alias the table should be given in joining it

Tags
inheritdoc

Adds a table which is to be joined as a table reference in this from clause.

see
FromClause::__toString()

        
On this page

Search results