src/libs/FileLib.php
public function get_path_files()
    {
	$path_files = array();

	$tmp_contents_dir = scandir( $this->_dir_path );
	foreach( $tmp_contents_dir as $tmp_content_dir )
	{
	    if( is_file( $this->_dir_path . $tmp_content_dir ) )
	    {
		$service_name = strtolower( preg_replace('/\\.[^.\\s]{3,4}$/', '', $tmp_content_dir ) );
		$path_files[$service_name] = $tmp_content_dir;
	    }
	}

	return $path_files;
    }
public function get_path_files()
    {
	$path_files = array();

	$tmp_contents_dir = scandir( $this->_dir_path );
	foreach( $tmp_contents_dir as $tmp_content_dir )
	{
	    if( is_file( $this->_dir_path . $tmp_content_dir ) )
	    {
		$service_name = strtolower( preg_replace('/\\.[^.\\s]{3,4}$/', '', $tmp_content_dir ) );
		$path_files[$service_name] = $tmp_content_dir;
	    }
	}

	return $path_files;
    }
public function get_path_files ( ) { $ path_files = array ( ) ; $ tmp_contents_dir = scandir ( $ this -> _dir_path ) ; foreach ( $ tmp_contents_dir as $ tmp_content_dir ) { if ( is_file ( $ this -> _dir_path . $ tmp_content_dir ) ) { $ service_name = strtolower ( preg_replace ( '/\\.[^.\\s]{3,4}$/' , '' , $ tmp_content_dir ) ) ; $ path_files [ $ service_name ] = $ tmp_content_dir ; } } return $ path_files ; }
Donne le chemin de tout les fichiers contenus dans le repertoire

@return array tabeau des fichiers trouver
Donne le chemin de tout les fichiers contenus dans le repertoire