| 97 | | switch($class){ |
|---|
| | 97 | |
|---|
| | 98 | /* Special case of TRUE forces all classes to be loaded. Make sure to add new classes to this array |
|---|
| | 99 | * as they are added to the autoloader. This was added because the presence of Zend enabled modules |
|---|
| | 100 | * can result in the autoloader function failing. |
|---|
| | 101 | * |
|---|
| | 102 | * Basically, every 'case' below should have a corresponding entry in the $class array below. |
|---|
| | 103 | */ |
|---|
| | 104 | if ($class === true) { |
|---|
| | 105 | $class = array('ampuser','CI_Email','CI_Table','CssMin','component','featurecode','cronmanager','moduleHook','modulelist','notifications','xml2Array'); |
|---|
| | 106 | } else { |
|---|
| | 107 | $class = array($class); |
|---|
| | 108 | } |
|---|
| | 109 | |
|---|
| | 110 | foreach ($class as $this_class) switch($this_class){ |
|---|