references:joomla.framework:environment:juri-delvardelVar
Removes an item from the query string variables if it exists. Syntaxvoid delVar ( $name )
ExamplesExample $uri = new JURI( 'http://www.joomla.org?action=help' ); echo "Before: " . $uri->toString(); $uri->delVar( 'action' ); echo "After: " . $uri->toString(); might produce: Result Before: http://www.joomla.org?action=help After: http://www.joomla.org |


