Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

function applyRedirection 08 Oct 2013 09:18 #11330

protected function applyRedirection

I would add also the case "home":
		switch($redirection)
		{
			//Stay on the same page
			case 'stay':
				$this->setRedirect(JshopHelper::urlRequest());
				return;
				break;
		
		/* hack */
			//Return to the homepage
			case 'home':
				$this->setRedirect('index.php');
				return;
				break;
		/* hack */
			//Return to the previous page in navigation history
			case 'previous':
				//TODO
				break;
		}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.064 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started