Blame view

src/vendor/1.2.5/Phalcon/Db/Adapter/Pdo/Sqlite.php 1.59 KB
1ea3b987   Administrator   maby first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  <?php 
  
  namespace Phalcon\Db\Adapter\Pdo {
  
  	/**
  	 * Phalcon\Db\Adapter\Pdo\Sqlite
  	 *
  	 * Specific functions for the Sqlite database system
  	 * <code>
  	 *
  	 * $config = array(
  	 *  "dbname" => "/tmp/test.sqlite"
  	 * );
  	 *
  	 * $connection = new Phalcon\Db\Adapter\Pdo\Sqlite($config);
  	 *
  	 * </code>
  	 */
  	
  	class Sqlite extends \Phalcon\Db\Adapter\Pdo implements \Phalcon\Events\EventsAwareInterface, \Phalcon\Db\AdapterInterface {
  
  		protected $_type;
  
  		protected $_dialectType;
  
  		/**
  		 * This method is automatically called in \Phalcon\Db\Adapter\Pdo constructor.
  		 * Call it when you need to restore a database connection.
  		 *
  		 * @param array $descriptor
  		 * @return boolean
  		 */
  		public function connect($descriptor=null){ }
  
  
  		/**
  		 * Returns an array of \Phalcon\Db\Column objects describing a table
  		 *
  		 * <code>
  		 * print_r($connection->describeColumns("posts")); ?>
  		 * </code>
  		 *
  		 * @param string $table
  		 * @param string $schema
  		 * @return \Phalcon\Db\Column[]
  		 */
  		public function describeColumns($table, $schema=null){ }
  
  
  		/**
  		 * Lists table indexes
  		 *
  		 * @param string $table
  		 * @param string $schema
  		 * @return \Phalcon\Db\Index[]
  		 */
  		public function describeIndexes($table, $schema=null){ }
  
  
  		/**
  		 * Lists table references
  		 *
  		 * @param string $table
  		 * @param string $schema
  		 * @return \Phalcon\Db\Reference[]
  		 */
  		public function describeReferences($table, $schema=null){ }
  
  
  		/**
  		 * Check whether the database system requires an explicit value for identity columns
  		 *
  		 * @return boolean
  		 */
  		public function useExplicitIdValue(){ }
  
  	}
  }