Documentation

Statement extends Component
in package
implements IStatement

AbstractYes
Tags
author

Ramone Burrell ramone@ramoneburrell.com

since

Version 0.1.0

Table of Contents

Interfaces

IStatement

Properties

$modifiers  : int
$schemas  : array<string|int, mixed>
$statement_syntax_pregs  : array<string|int, mixed>
$hashCode  : int
$hashCounter  : int

Methods

__call()  : mixed
__callStatic()  : mixed
__construct()  : mixed
__destruct()  : mixed
__get()  : mixed
extends()  : bool
fromString()  : IStatement|null
getReflection()  : ReflectionClass
init()  : mixed
setSchemas()  : mixed

Properties

$statement_syntax_pregs

protected static array<string|int, mixed> $statement_syntax_pregs = ["ddl" => "", "dml" => "/^(CALL|DELETE|DO|HANDLE|IMPORT TABLE|INSERT|LOAD DATA INFILE|LOAD XML|REPLACE|SELECT|WITH)/i", "tcl" => "", "utility" => "/^(DESCRIBE|DESC|EXPLAIN|HELP|USE)/i"]

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

fromString()

public static fromString(string $statement, array<string|int, mixed> $schemas) : IStatement|null
Parameters
$statement : string
$schemas : array<string|int, mixed>

The schemas the statement is to be created for and to/will be executed on

Tags
throws
InvalidArgumentException
Return values
IStatement|null

getReflection()

public getReflection() : ReflectionClass
Return values
ReflectionClass

setSchemas()

protected setSchemas(array<string|int, mixed> $schemas) : mixed
Parameters
$schemas : array<string|int, mixed>

        
On this page

Search results