PHP Class Prado\Data\SqlMap\Configuration\TInlineParameterMapParser

The inline parameter map syntax lets you embed the property name, the property type, the column type, and a null value replacement into a parametrized SQL statement.
Since: 3.1
Afficher le fichier Open project: pradosoft/prado Class Usage Examples

Méthodes publiques

Méthode Description
parse ( $sqlText, $scope ) : array Parse the sql text for inline parameters.

Méthodes protégées

Méthode Description
parseMapping ( $token, $scope ) Parse inline parameter with syntax as #propertyName,type=string,dbype=Varchar,nullValue=N/A,handler=string#

Method Details

parse() public méthode

Parse the sql text for inline parameters.
public parse ( $sqlText, $scope ) : array
Résultat array 'sql' and 'parameters' name value pairs.

parseMapping() protected méthode

Parse inline parameter with syntax as #propertyName,type=string,dbype=Varchar,nullValue=N/A,handler=string#
protected parseMapping ( $token, $scope )