1 | <?php |
||
9 | class SQLite extends _Abstract { |
||
10 | /** |
||
11 | * @var \SQLite3 Instance of DB connection |
||
12 | */ |
||
13 | protected $instance; |
||
14 | /** |
||
15 | * @param string $database Ignored for SQLite |
||
16 | * @param string $user Ignored for SQLite |
||
17 | * @param string $password Ignored for SQLite |
||
18 | * @param string $host Path to database file, relatively to website root or absolute |
||
19 | * @param string $charset Ignored for SQLite |
||
20 | * @param string $prefix |
||
21 | */ |
||
22 | function __construct ($database, $user = '', $password = '', $host = '', $charset = '', $prefix = '') { |
||
39 | /** |
||
40 | * @inheritdoc |
||
41 | * |
||
42 | * @return bool|\SQLite3Result |
||
1 ignored issue
–
show
|
|||
43 | */ |
||
44 | protected function q_internal ($query) { |
||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | protected function q_multi_internal ($query) { |
||
60 | /** |
||
61 | * @inheritdoc |
||
62 | */ |
||
63 | function n ($query_result) { |
||
79 | /** |
||
80 | * @inheritdoc |
||
81 | * |
||
82 | * @param false|\SQLite3Result $query_result |
||
83 | */ |
||
84 | function f ($query_result, $single_column = false, $array = false, $indexed = false) { |
||
100 | /** |
||
101 | * @inheritdoc |
||
102 | */ |
||
103 | function id () { |
||
106 | /** |
||
107 | * @inheritdoc |
||
108 | */ |
||
109 | function affected () { |
||
112 | /** |
||
113 | * @inheritdoc |
||
114 | * |
||
115 | * @param false|\SQLite3Result $query_result |
||
116 | */ |
||
117 | function free ($query_result) { |
||
123 | /** |
||
124 | * @inheritdoc |
||
125 | */ |
||
126 | function columns ($table, $like = false) { |
||
153 | /** |
||
154 | * @inheritdoc |
||
155 | */ |
||
156 | function tables ($like = false) { |
||
177 | /** |
||
178 | * @inheritdoc |
||
179 | */ |
||
180 | protected function s_internal ($string, $single_quotes_around) { |
||
184 | /** |
||
185 | * @inheritdoc |
||
186 | */ |
||
187 | function server () { |
||
190 | /** |
||
191 | * @inheritdoc |
||
192 | */ |
||
193 | function __destruct () { |
||
199 | } |
||
200 |