public function getRedirectPage()
    {
        // get the control that issues the call
        // __this is elementName:eventHandlerName
        list($element, $eventHandler) = $this->getInvokingElement();
        $eventHandlerName = $eventHandler->objectName;
        $redirectPage = $element->getRedirectPage($eventHandlerName); // need to get postaction of eventhandler
        $functionType = $element->getFunctionType($eventHandlerName);
        switch ($functionType)
        {
            case "Popup":
                $target = "Popup";
                break;
            default:
                $target = "";
        }
        return array($redirectPage, $target);
    }
public function getRedirectPage()
    {
        // get the control that issues the call
        // __this is elementName:eventHandlerName
        list($element, $eventHandler) = $this->getInvokingElement();
        $eventHandlerName = $eventHandler->objectName;
        $redirectPage = $element->getRedirectPage($eventHandlerName); // need to get postaction of eventhandler
        $functionType = $element->getFunctionType($eventHandlerName);
        switch ($functionType)
        {
            case "Popup":
                $target = "Popup";
                break;
            default:
                $target = "";
        }
        return array($redirectPage, $target);
    }
public function getRedirectPage ( ) { // get the control that issues the call // __this is elementName:eventHandlerName list ( $ element , $ eventHandler ) = $ this -> getInvokingElement ( ) ; $ eventHandlerName = $ eventHandler -> objectName ; $ redirectPage = $ element -> getRedirectPage ( $ eventHandlerName ) ; // need to get postaction of eventhandler $ functionType = $ element -> getFunctionType ( $ eventHandlerName ) ; switch ( $ functionType ) { case "Popup" : $ target = "Popup" ; break ; default : $ target = "" ; } return array ( $ redirectPage , $ target ) ; }
return redirect page and target array

@return array {redirectPage, $target}
return redirect page and target array