* @link https://github.com/pradosoft/prado * @copyright Copyright © 2005-2015 The PRADO Group * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT * @package System.Data.SqlMap.Statements */ /** * TStaticSql class. * * @author Wei Zhuo * @package System.Data.SqlMap.Statements * @since 3.1 */ class TStaticSql extends TComponent { private $_preparedStatement; public function buildPreparedStatement($statement, $sqlString) { $factory = new TPreparedStatementFactory($statement, $sqlString); $this->_preparedStatement = $factory->prepare(); } public function getPreparedStatement($parameter=null) { return $this->_preparedStatement; } }