final public function invokeAction()
    {
        $time = time();
        $success = $this->doAction();
        $this->actionRequired = !$success;
        $this->lastActionSuccess = $success;
        $this->lastActionAttemptTime = $time;

        if ($success) {
            $this->lastActionSuccessTime = $time;
        } else {
            $this->lastActionFailTime = $time;
        }

        return $success;
    }
final public function invokeAction()
    {
        $time = time();
        $success = $this->doAction();
        $this->actionRequired = !$success;
        $this->lastActionSuccess = $success;
        $this->lastActionAttemptTime = $time;

        if ($success) {
            $this->lastActionSuccessTime = $time;
        } else {
            $this->lastActionFailTime = $time;
        }

        return $success;
    }
final public function invokeAction ( ) { $ time = time ( ) ; $ success = $ this -> doAction ( ) ; $ this -> actionRequired = ! $ success ; $ this -> lastActionSuccess = $ success ; $ this -> lastActionAttemptTime = $ time ; if ( $ success ) { $ this -> lastActionSuccessTime = $ time ; } else { $ this -> lastActionFailTime = $ time ; } return $ success ; }
Used by the controller to invoke action based on delayedAction being used

@return bool
Used by the controller to invoke action based on delayedAction being used