Open Monograph Press
3.3.0
Autoloader.php
1
<?php
2
3
namespace
PhpXmlRpc
;
4
9
class
Autoloader
10
{
16
public
static
function
register
($prepend =
false
)
17
{
18
spl_autoload_register(array(__CLASS__,
'autoload'
),
true
, $prepend);
19
}
20
26
public
static
function
autoload
($class)
27
{
28
if
(0 !== strpos($class,
'PhpXmlRpc\\'
)) {
29
return
;
30
}
31
32
if
(is_file($file = __DIR__ . str_replace(array(
'PhpXmlRpc\\'
,
'\\'
),
'/'
, $class).
'.php'
)) {
33
require $file;
34
}
35
}
36
}
PhpXmlRpc\Autoloader
Definition:
Autoloader.php:9
PhpXmlRpc\Autoloader\autoload
static autoload($class)
Definition:
Autoloader.php:26
PhpXmlRpc
Definition:
Autoloader.php:3
plugins
generic
plagiarism
vendor
phpxmlrpc
phpxmlrpc
src
Autoloader.php
Generated on Fri Aug 28 2020 14:51:30 for Open Monograph Press by
1.8.17