* @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id: TStaticSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $ * @package System.Data.SqlMap.Statements */ /** * TStaticSql class. * * @author Wei Zhuo * @version $Id: TStaticSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $ * @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; } }