## Class TSimpleDynamicParser

Description

TSimpleDynamicParser finds place holders $name$ in the sql text and replaces it with a TSimpleDynamicParser::DYNAMIC_TOKEN.

- since: 3.1
- version: $Id: TSimpleDynamicParser.php 2541 2008-10-21 15:05:13Z qiang.xue $
- author: Wei Zhuo <weizho[at]gmail[dot]com>

Located in /Data/SqlMap/Configuration/TSimpleDynamicParser.php (line 22)

Class Constant Summary
DYNAMIC_TOKEN = '`!`'
PARAMETER_TOKEN_REGEXP = '/\$([^\$]+)\$/'
Method Summary
array parse (string $sqlText)
Methods
parse (line 32)

Parse the sql text for dynamic place holders of the form $name$.

- return: name value pairs 'sql' and 'parameters'.
- access: public

array parse (string $sqlText)

- string $sqlText: Sql text.

Class Constants
DYNAMIC_TOKEN = '`!`' (line 25)
PARAMETER_TOKEN_REGEXP = '/\$([^\$]+)\$/' (line 24)

Documentation generated on Mon, 22 Feb 2010 12:18:38 +0000 by phpDocumentor 1.3.0RC4