PHP 클래스 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.
부터: 3.1
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
parse ( $sqlText, $scope ) : array Parse the sql text for inline parameters.

보호된 메소드들

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

메소드 상세

parse() 공개 메소드

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

parseMapping() 보호된 메소드

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