3 |
// $Id$ |
// $Id$ |
4 |
// --------------------------------------------------------------------------- |
// --------------------------------------------------------------------------- |
5 |
// $Log$ |
// $Log$ |
6 |
|
// Revision 1.4 2003/02/22 16:34:16 joko |
7 |
|
// + minor fix: can seperate namespace identifier with slashes ('/') now |
8 |
|
// |
9 |
// Revision 1.3 2003/02/09 17:16:06 joko |
// Revision 1.3 2003/02/09 17:16:06 joko |
10 |
// + handling arguments perl style ;-) |
// + handling arguments perl style ;-) |
11 |
// |
// |
46 |
$classname = $namespacedClassname; |
$classname = $namespacedClassname; |
47 |
if (loadModule($namespacedClassname)) { |
if (loadModule($namespacedClassname)) { |
48 |
$classname = str_replace('::', '_', $namespacedClassname); |
$classname = str_replace('::', '_', $namespacedClassname); |
49 |
|
$classname = str_replace('/', '_', $classname); |
50 |
} |
} |
51 |
$obj = new DesignPattern_Bridge($classname, $attributes); |
$obj = new DesignPattern_Bridge($classname, $attributes); |
52 |
return $obj; |
return $obj; |