1 | <?php |
||
16 | class mysqli implements driver_interface |
||
17 | { |
||
18 | /** @var \phpbb\db\driver\driver_interface */ |
||
19 | protected $db; |
||
20 | |||
21 | /** @var string */ |
||
22 | protected $engine; |
||
23 | |||
24 | /** |
||
25 | * Constructor |
||
26 | * |
||
27 | * @param \phpbb\db\driver\driver_interface $db |
||
28 | */ |
||
29 | public function __construct(\phpbb\db\driver\driver_interface $db) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function get_name() |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function get_type() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function get_query($topic_id, $topic_title, $length, $sensitivity) |
||
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | public function is_supported() |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function is_fulltext($column = 'topic_title', $table = TOPICS_TABLE) |
||
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | public function get_fulltext_indexes($column = 'topic_title', $table = TOPICS_TABLE) |
||
133 | |||
134 | /** |
||
135 | * {@inheritdoc} |
||
136 | */ |
||
137 | public function create_fulltext_index($column = 'topic_title', $table = TOPICS_TABLE) |
||
154 | |||
155 | /** |
||
156 | * {@inheritdoc} |
||
157 | */ |
||
158 | public function get_engine() |
||
162 | |||
163 | /** |
||
164 | * Set the database storage engine name |
||
165 | * |
||
166 | * @access protected |
||
167 | * @return string The storage engine name |
||
168 | */ |
||
169 | protected function set_engine() |
||
190 | |||
191 | /** |
||
192 | * Get topics table information |
||
193 | * |
||
194 | * @access protected |
||
195 | * @param string $table Name of the table |
||
196 | * @return mixed Array with the table info, false if the table does not exist |
||
197 | */ |
||
198 | protected function get_table_info($table = TOPICS_TABLE) |
||
206 | |||
207 | /** |
||
208 | * Check if the database is using MySQL |
||
209 | * |
||
210 | * @access public |
||
211 | * @return bool True if is mysql, false otherwise |
||
212 | */ |
||
213 | protected function is_mysql() |
||
217 | } |
||
218 |