@@ 211-231 (lines=21) @@ | ||
208 | * this list return by child class |
|
209 | * @return array return enable DBMS list in supported dbms list |
|
210 | */ |
|
211 | public static function getEnableList() |
|
212 | { |
|
213 | if(!self::$supported_list) |
|
214 | { |
|
215 | $oDB = new DB(); |
|
216 | self::$supported_list = $oDB->_getSupportedList(); |
|
217 | } |
|
218 | ||
219 | $enableList = array(); |
|
220 | if(is_array(self::$supported_list)) |
|
221 | { |
|
222 | foreach(self::$supported_list AS $key => $value) |
|
223 | { |
|
224 | if($value->enable) |
|
225 | { |
|
226 | $enableList[] = $value; |
|
227 | } |
|
228 | } |
|
229 | } |
|
230 | return $enableList; |
|
231 | } |
|
232 | ||
233 | /** |
|
234 | * returns list of disable in supported dbms list |
|
@@ 238-258 (lines=21) @@ | ||
235 | * this list return by child class |
|
236 | * @return array return disable DBMS list in supported dbms list |
|
237 | */ |
|
238 | public static function getDisableList() |
|
239 | { |
|
240 | if(!self::$supported_list) |
|
241 | { |
|
242 | $oDB = new DB(); |
|
243 | self::$supported_list = $oDB->_getSupportedList(); |
|
244 | } |
|
245 | ||
246 | $disableList = array(); |
|
247 | if(is_array(self::$supported_list)) |
|
248 | { |
|
249 | foreach(self::$supported_list AS $key => $value) |
|
250 | { |
|
251 | if(!$value->enable) |
|
252 | { |
|
253 | $disableList[] = $value; |
|
254 | } |
|
255 | } |
|
256 | } |
|
257 | return $disableList; |
|
258 | } |
|
259 | ||
260 | /** |
|
261 | * returns list of supported dbms list |