Class \Prado\Data\SqlMap\Configuration\TSqlMapStatement
TSqlMapStatement class corresponds to <statement> element.
Mapped Statements can hold any SQL statement and can use Parameter Maps and Result Maps for input and output.
The
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
__sleep() : mixed
Returns an array with the names of all variables of that object that should be serialized.
Do not call this method. This is a PHP magic method that will be called automatically prior to any serialization. |
public
|
|
public
|
createInstanceOfResultClass(TSqlMapTypeHandlerRegistry $registry, array<string|int, mixed> $row) : mixed
Create a new instance of result class.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setListClass(string $value) : mixed
An \ArrayAccess class can be specified to handle the type of objects in the collection.
|
public
|
setParameterClass(string $value) : mixed
If a {@see ParameterMap setParameterMap()} property is not specified,
you may specify a ParameterClass instead and use inline parameters.
The value of the parameterClass attribute can be any existing PHP class name. |
public
|
setParameterMap(string $value) : mixed
A Parameter Map defines an ordered list of values that match up with
the "?" placeholders of a standard, parameterized query statement.
|
public
|
setResultClass(string $value) : mixed
If a {@see ResultMap setResultMap()} is not specified, you may specify a
ResultClass instead. The value of the ResultClass property can be the
name of a PHP class or primitives like integer, string, or array. The
class specified will be automatically mapped to the columns in the
result, based on the result metadata.
|
public
|
setResultMap(string $value) : mixed
A Result Map lets you control how data is extracted from the result of a
query, and how the columns are mapped to object properties.
|
public
|
|
protected
|
createInstanceOf(TSqlMapTypeHandlerRegistry $registry, string $type[, array<string|int, mixed> $row = null ]) : mixed
Create a new instance of a given type.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |