Last active
August 29, 2015 14:00
-
-
Save manchumahara/11140223 to your computer and use it in GitHub Desktop.
ref blog post http://manchumahara.com/2014/04/20/dont-use-jrequest-in-joomla-3-x-its-deprecated-now/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Old way: | |
$option = JRequest::getCmd('option'); | |
New way: | |
$app = JFactory::getApplication(); | |
$option = $app->input->getCmd('option', ''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment