@@ 761-763 (lines=3) @@ | ||
758 | : 'FANCY_BATMAN_PANTS'; |
|
759 | $class_name = str_replace('\\', '_', $class_name); |
|
760 | // check if class has already been loaded, and return it if it has been |
|
761 | if (isset($this->{$class_abbreviation}) && ! is_null($this->{$class_abbreviation})) { |
|
762 | return $this->{$class_abbreviation}; |
|
763 | } |
|
764 | if (isset ($this->{$class_name})) { |
|
765 | return $this->{$class_name}; |
|
766 | } |
|
@@ 793-796 (lines=4) @@ | ||
790 | : 'FANCY_BATMAN_PANTS'; |
|
791 | $class_name = str_replace('\\', '_', $class_name); |
|
792 | // check if class has already been loaded, and return it if it has been |
|
793 | if (isset($this->{$class_abbreviation}) && ! is_null($this->{$class_abbreviation})) { |
|
794 | $this->{$class_abbreviation} = null; |
|
795 | return true; |
|
796 | } |
|
797 | if (isset($this->{$class_name})) { |
|
798 | $this->{$class_name} = null; |
|
799 | return true; |