src/ministruts/Module.php
protected function addGlobalForward(ActionForward $forward, $alias = null) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');

        $name = is_null($alias) ? $forward->getName() : $alias;

        if (isset($this->globalForwards[$name])) throw new StrutsConfigException('Non-unique name detected for global ActionForward "'.$name.'"');
        $this->globalForwards[$name] = $forward;
    }
protected function addGlobalForward(ActionForward $forward, $alias = null) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');

        $name = is_null($alias) ? $forward->getName() : $alias;

        if (isset($this->globalForwards[$name])) throw new StrutsConfigException('Non-unique name detected for global ActionForward "'.$name.'"');
        $this->globalForwards[$name] = $forward;
    }
protected function addGlobalForward ( ActionForward $ forward , $ alias = null ) { if ( $ this -> configured ) throw new IllegalStateException ( 'Configuration is frozen' ) ; $ name = is_null ( $ alias ) ? $ forward -> getName ( ) : $ alias ; if ( isset ( $ this -> globalForwards [ $ name ] ) ) throw new StrutsConfigException ( 'Non-unique name detected for global ActionForward "' . $ name . '"' ) ; $ this -> globalForwards [ $ name ] = $ forward ; }
Fuegt diesem Module einen globalen ActionForward. Ist ein Alias angegeben, wird er unter dem Alias-Namen registriert.

@param  ActionForward $forward
@param  string        $alias [optional] - alias name of the forward

@throws StrutsConfigException on configuration errors
Fuegt diesem Module einen globalen ActionForward . Ist ein Alias angegeben wird er unter dem Alias - Namen registriert .