public static function importFromApp($path) {
        $importPath = APPS_ROOT . DS . $path . '.php';

        if (file_exists($importPath)) {
            include_once $importPath;
        } else {
            throw new SetupException("The object to import ($path) not exists.");
        }
    }
public static function importFromApp($path) {
        $importPath = APPS_ROOT . DS . $path . '.php';

        if (file_exists($importPath)) {
            include_once $importPath;
        } else {
            throw new SetupException("The object to import ($path) not exists.");
        }
    }
public static function importFromApp ( $ path ) { $ importPath = APPS_ROOT . DS . $ path . '.php' ; if ( file_exists ( $ importPath ) ) { include_once $ importPath ; } else { throw new SetupException ( "The object to import ($path) not exists." ) ; } }
Carga un objeto desde las Apps.

@param string $path
Carga un objeto desde las Apps .