Table of Contents
Constants
-
SQL_ASSOC
= []
-
SQL_ASSOC_METHOD_FILE
= 0
-
SQL_ASSOC_METHOD_METHOD
= 1
-
SQL_ASSOC_METHOD_SQL
= 2
-
SQLDIR
= APP_PATH . 'Procedure' . DS . 'sql' . DS
Properties
-
$opt
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
do()
: mixed
-
doStatic()
: mixed
-
extendSql()
: mixed
-
formatVal()
: mixed
-
getOpt()
: array<string|int, mixed>
-
getOptUser()
: mixed
-
getOptUserId()
: mixed
-
getOptVal()
: mixed
-
getOptValOr()
: mixed
-
getRawSqlFile()
: mixed
-
getSqlAssoc()
: mixed
-
getSqlFile()
: mixed
-
hasOptKey()
: mixed
-
prepareProcedureCallExtend()
: PreparedProcedureCall
-
prepareProcedureCallFile()
: PreparedProcedureCall
-
prepareProcedureCallSql()
: PreparedProcedureCall
-
setOpt()
: static
-
call()
: mixed
SQL_ASSOC
public
mixed
SQL_ASSOC
= []
SQL_ASSOC_METHOD_FILE
public
mixed
SQL_ASSOC_METHOD_FILE
= 0
SQL_ASSOC_METHOD_METHOD
public
mixed
SQL_ASSOC_METHOD_METHOD
= 1
SQL_ASSOC_METHOD_SQL
public
mixed
SQL_ASSOC_METHOD_SQL
= 2
SQLDIR
public
mixed
SQLDIR
= APP_PATH . 'Procedure' . DS . 'sql' . DS
$opt
private
array<string|int, mixed>
$opt
__construct()
public
__construct([array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$opt
: array<string|int, mixed>
= []
-
do()
public
do(mixed $procedureName[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$procedureName
: mixed
-
-
$opt
: array<string|int, mixed>
= []
-
doStatic()
public
static doStatic(mixed $procedureName[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$procedureName
: mixed
-
-
$opt
: array<string|int, mixed>
= []
-
extendSql()
public
extendSql(ProcedureCall $call, mixed &$sql, mixed &$bind, mixed $key) : mixed
Parameters
-
$call
: ProcedureCall
-
-
$sql
: mixed
-
-
$bind
: mixed
-
-
$key
: mixed
-
public
formatVal(mixed $key, mixed $val) : mixed
Parameters
-
$key
: mixed
-
-
$val
: mixed
-
getOpt()
public
getOpt([array<string|int, mixed> $opt = null ]) : array<string|int, mixed>
Parameters
-
$opt
: array<string|int, mixed>
= null
-
Return values
array<string|int, mixed>
getOptUser()
public
getOptUser() : mixed
getOptUserId()
public
getOptUserId() : mixed
getOptVal()
public
getOptVal(string $key) : mixed
Parameters
-
$key
: string
-
getOptValOr()
public
getOptValOr(string $key[, mixed $or = null ]) : mixed
Parameters
-
$key
: string
-
-
$or
: mixed
= null
-
getRawSqlFile()
public
static getRawSqlFile(mixed $filename) : mixed
Parameters
-
$filename
: mixed
-
getSqlAssoc()
public
static getSqlAssoc(mixed $procedureName) : mixed
Parameters
-
$procedureName
: mixed
-
getSqlFile()
public
static getSqlFile(mixed $filename) : mixed
Parameters
-
$filename
: mixed
-
hasOptKey()
public
hasOptKey(string $key) : mixed
Parameters
-
$key
: string
-
prepareProcedureCallExtend()
public
prepareProcedureCallExtend(ProcedureCall $call) : PreparedProcedureCall
Parameters
-
$call
: ProcedureCall
-
prepareProcedureCallFile()
public
prepareProcedureCallFile(ProcedureCall $call) : PreparedProcedureCall
Parameters
-
$call
: ProcedureCall
-
-
throws
-
ProcedureIncompatibleProcedureCall
prepareProcedureCallSql()
public
prepareProcedureCallSql(ProcedureCall $call) : PreparedProcedureCall
Parameters
-
$call
: ProcedureCall
-
-
throws
-
ProcedureIncompatibleProcedureCall
setOpt()
public
setOpt(array<string|int, mixed> $opt) : static
Parameters
-
$opt
: array<string|int, mixed>
-
call()
protected
call(mixed $procedureName[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
-
$procedureName
: mixed
-
-
$opt
: array<string|int, mixed>
= []
-