$input = JFactory::getApplication()->input;$option = $input->getCmd('option', '');
$option = filter_input(INPUT_GET, 'option', FILTER_SANITIZE_STRING);
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
That's an interesting idea. I know that JFilterInput is a bit of a mess and it would be interesting to see how much of it could be replaced using the standard PHP filter commands. Mark
On Sun, Feb 16, 2014 at 1:39 AM, Fedor Vlasenko <vlasen...@gmail.com> wrote:
Have a nice dayTell you plan to get rid of Jinput$input = JFactory::getApplication()->input;$option = $input->getCmd('option', '');->$option = filter_input(INPUT_GET, 'option', FILTER_SANITIZE_STRING);last code more quick-wittedI understand what data I take and as I filterwith new opportunities of PHP "sugar" in Jinput stopped being thatThanks,FedorForgive for my language
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.