Statement
extends Component
in package
implements
IStatement
AbstractYes
Tags
Table of Contents
Interfaces
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
$modifiers
protected
int
$modifiers
$schemas
protected
array<string|int, mixed>
$schemas
= []
$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"]
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolfromString()
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
Return values
IStatement|nullgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassinit()
protected
init() : mixed
setSchemas()
protected
setSchemas(array<string|int, mixed> $schemas) : mixed
Parameters
- $schemas : array<string|int, mixed>