Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * TSqliteTableInfo class file.
4
 *
5
 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
6
 * @link http://www.pradosoft.com/
7
 * @copyright Copyright &copy; 2005-2008 PradoSoft
8
 * @license http://www.pradosoft.com/license/
9
 * @version $Id: TSqliteTableInfo.php 1861 2007-04-12 08:05:03Z wei $
10
 * @package System.Data.Common.Sqlite
11
 */
12
 
13
/**
14
 * Loads the base TDbTableInfo class and TSqliteTableColumn class.
15
 */
16
Prado::using('System.Data.Common.TDbTableInfo');
17
Prado::using('System.Data.Common.Sqlite.TSqliteTableColumn');
18
 
19
/**
20
 * TSqliteTableInfo class provides additional table information for PostgreSQL database.
21
 *
22
 * @author Wei Zhuo <weizho[at]gmail[dot]com>
23
 * @version $Id: TSqliteTableInfo.php 1861 2007-04-12 08:05:03Z wei $
24
 * @package System.Data.Common.Sqlite
25
 * @since 3.1
26
 */
27
class TSqliteTableInfo extends TDbTableInfo
28
{
29
	/**
30
	 * @param TDbConnection database connection.
31
	 * @return TDbCommandBuilder new command builder
32
	 */
33
	public function createCommandBuilder($connection)
34
	{
35
		Prado::using('System.Data.Common.Sqlite.TSqliteCommandBuilder');
36
		return new TSqliteCommandBuilder($connection,$this);
37
	}
38
 
39
	/**
40
	 * @return string full name of the table, database dependent.
41
	 */
42
	public function getTableFullName()
43
	{
44
		return "'".$this->getTableName()."'";
45
	}
46
}
47