Enters a scope, adds it to the scope stack, and calls all registered functions for that scope. An event handler list associated with that scope is prepared. The new scope is added to the top of the scope stack. New event handlers will default to being registered with the scope that is on top of the scope stack. Triggers the “EnterScope” event before invoking any of the scope's registered functions.
You may have more than one custom scope at a time.
Added in version 1.2.0
var scopeEntered = WLEvent.enterScope(scope);
|scope||The scope being entered.||String||Required||See WLEvent.registerScope() Velocity Scopes|
|scopeEntered||The return value. True if the scope was successfully entered.||Boolean||Return|
/* Invokes all registered functions associated with the
* "mySpecial" scope.