Class \Prado\Data\SqlMap\Configuration\TParameterMap
TParameterMap corresponds to the <parameterMap> element.
TParameterMap holds one or more parameter child elements that map object properties to placeholders in a SQL statement.
A TParameterMap defines an ordered list of values that match up with the placeholders of a parameterized query statement. While the attributes specified by the map still need to be in the correct order, each parameter is named. You can populate the underlying class in any order, and the TParameterMap ensures each value is passed in the correct order.
Parameter Maps can be provided as an external element and inline. The <parameterMap> element accepts two attributes: id (required) and extends (optional).
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
getPropertyValue(TSqlMapTypeHandlerRegistry $registry, TParameterProperty $property, mixed $parameterValue) : mixed
Get the value of a property from the the parameter object.
|
public
|
|
public
|
|
public
|
|
protected
|
createTypeHandler(TParameterProperty $property, TSqlMapTypeHandlerRegistry $registry) : TSqlMapTypeHandler
Create type handler from {@see Type setType()} or {@see TypeHandler setTypeHandler}.
|
protected
|
|
protected
|
nullifyDefaultValue(TParameterProperty $property, mixed $value) : mixed
When the actual value matches the {@see NullValue TParameterProperty::setNullValue()},
set the current value to null.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |