Documentation

ProcedureComponentAbstract extends Injectable
in package
implements OptInterface uses OptTrait, TraitGetSql

AbstractYes

Table of Contents

Interfaces

OptInterface

Constants

SQL_ASSOC  = []
SQL_ASSOC_METHOD_FILE  = 0
SQL_ASSOC_METHOD_METHOD  = 1
SQL_ASSOC_METHOD_SQL  = 2
SQLDIR  = APP_PATH . 'Report' . DS . 'sql' . DS

Properties

$dbComponent  : mixed
$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

Constants

Properties

$opt

private array<string|int, mixed> $opt

Methods

__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> = []

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

getSqlFile()

public static getSqlFile(mixed $filename) : mixed
Parameters
$filename : mixed

hasOptKey()

public hasOptKey(string $key) : mixed
Parameters
$key : string

setOpt()

public setOpt(array<string|int, mixed> $opt) : static
Parameters
$opt : array<string|int, mixed>
Return values
static

call()

protected call(mixed $procedureName[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$procedureName : mixed
$opt : array<string|int, mixed> = []

        
On this page

Search results