summaryrefslogtreecommitdiff
path: root/framework/DataAccess/SQLMap/Statements/TStaticSql.php
blob: bf6e4a18485c5d7ddda6e720652ec8090c80cb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

class TStaticSql extends TComponent
{
	private $_preparedStatement;

	public function buildPreparedStatement($statement, $sqlString)
	{
		$factory = new TPreparedStatementFactory($statement, $sqlString);
		$this->_preparedStatement = $factory->prepare();
	}

	public function getPreparedStatement()
	{
		return $this->_preparedStatement;
	}
}

?>