19 'SAML2_Const' =>
'SAML2_Constants',
21 $oldName = $className;
22 if (array_key_exists($className, $renamed)) {
23 $className = $renamed[$className];
26 $file = dirname(__FILE__).
'/'.str_replace(
'_',
'/', $className).
'.php';
27 if (file_exists(
$file)) {
29 $newName =
'\\'.str_replace(
'_',
'\\', $className);
30 class_alias($newName, $oldName);
35 spl_autoload_register(
'SAML2_autoload');
Create styles array
The data for the language used.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
SAML2_autoload($className)
Autoload function that looks for classes migrated to PSR-2.