public function loadInfos()
    {
        $this->findModuleName();
        
        $infos = $this->obtainInfosFromModule();
        $this->checkPropertySrcPath($infos);
        
        //Defines default paths
        $this->sourceSrcPath    = $infos->srcPath;
        $this->sourceConfigPath = $infos->srcPath;

        //Defines properties
        
        if (property_exists($infos, 'configFiles')) {
            $this->configFilesList = (array) $infos->configFiles;
        }

        if (property_exists($infos, 'configPath')) {
            $this->sourceConfigPath = $infos->configPath;
        }

        if (property_exists($infos, 'installScript')) {
            $this->sourceInstallScript = $infos->installScript;
        }

        $this->sourceSrcPath = realpath(
            $this->sourcePath.'/'.$this->sourceSrcPath
        );
        
        $this->sourceConfigPath = realpath(
            $this->sourcePath.'/'.$this->sourceConfigPath
        );
        
        if (is_bool($this->sourceSrcPath) || is_bool($this->sourceConfigPath)) {
            throw new Exception(
                'The srcPath or the configPath (if define) properties not exist'
                .' for the module '.$this->name,
                $this::ERR_LOAD_PATH_NOT_EXIST
            );
        }
    }
public function loadInfos()
    {
        $this->findModuleName();
        
        $infos = $this->obtainInfosFromModule();
        $this->checkPropertySrcPath($infos);
        
        //Defines default paths
        $this->sourceSrcPath    = $infos->srcPath;
        $this->sourceConfigPath = $infos->srcPath;

        //Defines properties
        
        if (property_exists($infos, 'configFiles')) {
            $this->configFilesList = (array) $infos->configFiles;
        }

        if (property_exists($infos, 'configPath')) {
            $this->sourceConfigPath = $infos->configPath;
        }

        if (property_exists($infos, 'installScript')) {
            $this->sourceInstallScript = $infos->installScript;
        }

        $this->sourceSrcPath = realpath(
            $this->sourcePath.'/'.$this->sourceSrcPath
        );
        
        $this->sourceConfigPath = realpath(
            $this->sourcePath.'/'.$this->sourceConfigPath
        );
        
        if (is_bool($this->sourceSrcPath) || is_bool($this->sourceConfigPath)) {
            throw new Exception(
                'The srcPath or the configPath (if define) properties not exist'
                .' for the module '.$this->name,
                $this::ERR_LOAD_PATH_NOT_EXIST
            );
        }
    }
public function loadInfos ( ) { $ this -> findModuleName ( ) ; $ infos = $ this -> obtainInfosFromModule ( ) ; $ this -> checkPropertySrcPath ( $ infos ) ; //Defines default paths $ this -> sourceSrcPath = $ infos -> srcPath ; $ this -> sourceConfigPath = $ infos -> srcPath ; //Defines properties if ( property_exists ( $ infos , 'configFiles' ) ) { $ this -> configFilesList = ( array ) $ infos -> configFiles ; } if ( property_exists ( $ infos , 'configPath' ) ) { $ this -> sourceConfigPath = $ infos -> configPath ; } if ( property_exists ( $ infos , 'installScript' ) ) { $ this -> sourceInstallScript = $ infos -> installScript ; } $ this -> sourceSrcPath = realpath ( $ this -> sourcePath . '/' . $ this -> sourceSrcPath ) ; $ this -> sourceConfigPath = realpath ( $ this -> sourcePath . '/' . $ this -> sourceConfigPath ) ; if ( is_bool ( $ this -> sourceSrcPath ) || is_bool ( $ this -> sourceConfigPath ) ) { throw new Exception ( 'The srcPath or the configPath (if define) properties not exist' . ' for the module ' . $ this -> name , $ this :: ERR_LOAD_PATH_NOT_EXIST ) ; } }
Load module infos from files

@return void
Load module infos from files