- /**
- * A private include loader
- *
- * @param $arrayObject The array object with all include files
- * @return void
- * @deprecated
- * @see ClassLoader
- */
- private function loadIncludes (ArrayObject $arrayObject) {
- // Load only if there are includes defined
- if (!is_null($arrayObject)) {
- for ($idx = $arrayObject->getIterator(); $idx->valid(); $idx->next()) {
- // Get include file
- $inc = $idx->current();
-
- // Is the file name really set?
- if (!empty($inc)) {
- // Base path is by default added
- $fqfn = $inc;
-
- // Base path added? (Uni* / Windows)
- if ((substr($inc, 0, 1) != '/') && (substr($inc, 1, 1) != ':')) {
- // Generate FQFN
- $fqfn = $this->getConfigEntry('base_path') . '/inc/extra/' . $inc;
- } // END - if
- } // END - if
-
- // Include them all here
- require($fqfn);
- }
- } // END - if
- }
-