public function getList(array $module)
    {
        $list = array();

        foreach ($this->getScanFolders() as $folder) {
            $files = gplcart_file_scan_recursive("{$module['directory']}/$folder");
            sort($files);
            $list[$folder] = $files;
        }

        $this->hook->attach('module.editor.list', $list);
        return $list;
    }
public function getList(array $module)
    {
        $list = array();

        foreach ($this->getScanFolders() as $folder) {
            $files = gplcart_file_scan_recursive("{$module['directory']}/$folder");
            sort($files);
            $list[$folder] = $files;
        }

        $this->hook->attach('module.editor.list', $list);
        return $list;
    }
public function getList ( array $ module ) { $ list = array ( ) ; foreach ( $ this -> getScanFolders ( ) as $ folder ) { $ files = gplcart_file_scan_recursive ( "{$module['directory']}/$folder" ) ; sort ( $ files ) ; $ list [ $ folder ] = $ files ; } $ this -> hook -> attach ( 'module.editor.list' , $ list ) ; return $ list ; }
Returns an array of editable files
@param array $module
@return array
Returns an array of editable files