lib/ezutils/classes/ezoperationhandler.php
static function moduleOperationInfo( $moduleName, $useTriggers = true )
    {
        if ( !isset( $GLOBALS['eZGlobalModuleOperationList'] ) )
        {
            $GLOBALS['eZGlobalModuleOperationList'] = array();
        }
        if ( isset( $GLOBALS['eZGlobalModuleOperationList'][$moduleName] ) )
        {
            return $GLOBALS['eZGlobalModuleOperationList'][$moduleName];
        }
        $moduleOperationInfo = new eZModuleOperationInfo( $moduleName, $useTriggers );
        $moduleOperationInfo->loadDefinition();
        return $GLOBALS['eZGlobalModuleOperationList'][$moduleName] = $moduleOperationInfo;
    }
static function moduleOperationInfo( $moduleName, $useTriggers = true )
    {
        if ( !isset( $GLOBALS['eZGlobalModuleOperationList'] ) )
        {
            $GLOBALS['eZGlobalModuleOperationList'] = array();
        }
        if ( isset( $GLOBALS['eZGlobalModuleOperationList'][$moduleName] ) )
        {
            return $GLOBALS['eZGlobalModuleOperationList'][$moduleName];
        }
        $moduleOperationInfo = new eZModuleOperationInfo( $moduleName, $useTriggers );
        $moduleOperationInfo->loadDefinition();
        return $GLOBALS['eZGlobalModuleOperationList'][$moduleName] = $moduleOperationInfo;
    }
static function moduleOperationInfo ( $ moduleName , $ useTriggers = true ) { if ( ! isset ( $ GLOBALS [ 'eZGlobalModuleOperationList' ] ) ) { $ GLOBALS [ 'eZGlobalModuleOperationList' ] = array ( ) ; } if ( isset ( $ GLOBALS [ 'eZGlobalModuleOperationList' ] [ $ moduleName ] ) ) { return $ GLOBALS [ 'eZGlobalModuleOperationList' ] [ $ moduleName ] ; } $ moduleOperationInfo = new eZModuleOperationInfo ( $ moduleName , $ useTriggers ) ; $ moduleOperationInfo -> loadDefinition ( ) ; return $ GLOBALS [ 'eZGlobalModuleOperationList' ] [ $ moduleName ] = $ moduleOperationInfo ; }
Factory for modules' moduleOperationInfo objects.

@param string $moduleName
@param bool $useTriggers*

@return eZModuleOperationInfo
Factory for modules moduleOperationInfo objects .