lib/ezutils/classes/ezmodule.php
static function addGlobalPathList( $pathList )
    {
        if ( !is_array( $GLOBALS['eZModuleGlobalPathList'] ) )
        {
            $GLOBALS['eZModuleGlobalPathList'] = array();
        }
        if ( !is_array( $pathList ) )
        {
            $pathList = array( $pathList );
        }
        $GLOBALS['eZModuleGlobalPathList'] = array_merge( $GLOBALS['eZModuleGlobalPathList'], $pathList );
    }
static function addGlobalPathList( $pathList )
    {
        if ( !is_array( $GLOBALS['eZModuleGlobalPathList'] ) )
        {
            $GLOBALS['eZModuleGlobalPathList'] = array();
        }
        if ( !is_array( $pathList ) )
        {
            $pathList = array( $pathList );
        }
        $GLOBALS['eZModuleGlobalPathList'] = array_merge( $GLOBALS['eZModuleGlobalPathList'], $pathList );
    }
static function addGlobalPathList ( $ pathList ) { if ( ! is_array ( $ GLOBALS [ 'eZModuleGlobalPathList' ] ) ) { $ GLOBALS [ 'eZModuleGlobalPathList' ] = array ( ) ; } if ( ! is_array ( $ pathList ) ) { $ pathList = array ( $ pathList ) ; } $ GLOBALS [ 'eZModuleGlobalPathList' ] = array_merge ( $ GLOBALS [ 'eZModuleGlobalPathList' ] , $ pathList ) ; }
Adds a new entry to the global path list
@param array|string $pathList
Either an array of path or a single path string
@return void
@see setGlobalPathList(), globalPathList()
Adds a new entry to the global path list