XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
DriverList.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of the Stash package.
5
*
6
* (c) Robert Hafner <tedivm@tedivm.com>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
Xoops\Core\Cache
;
13
20
class
DriverList
extends
\Stash\DriverList
21
{
30
public
static
function
getDriverClass
(
$name
)
31
{
32
if
(isset(self::$drivers[
$name
])) {
33
return
self::$drivers[
$name
];
34
}
35
foreach
(self::$drivers as $driverName => $className) {
36
if
(0 == strcasecmp($name, $driverName)) {
37
return
$className;
38
}
39
}
40
return
false
;
41
}
42
}
Xoops\Core\Cache\DriverList
Definition:
DriverList.php:20
Xoops\Core\Cache
Definition:
Access.php:12
Xoops\Core\Cache\DriverList\getDriverClass
static getDriverClass($name)
Definition:
DriverList.php:30
$name
$name
Definition:
force_download.php:15
usr64
htdocs
xoops_lib
Xoops
Core
Cache
DriverList.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1