Re: Joomla FrameWork ::
| From: | Andre Polykanine | Date: | Sun, 02 May 2010 19:29:42 +0000 |
| Subject: | Re: Joomla FrameWork :: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304849@lists.php.net to get a copy of this message | ||
Hello Nick,
That means that the function SetVar is situated in the jRequest class.
So if you want to modify the function, for example, you need to know
where the class jRequest is situated.
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
----- Original message -----
From: Nick Balestra <nick@beyounic.com>
To: php-general@lists.php.net <php-general@lists.php.net>
Date: Sunday, May 2, 2010, 5:41:07 PM
Subject: [PHP] Joomla FrameWork ::
I am trying to understand how the joomla framework works, i see an heavy usage of " ::
" in its code, here an example:
function edit ()
{
JRequest::setVar('view, 'single');
$this ->display();
}
from my really basic php understanding in the function edit i call a function setVar() and i pass
the paramter 'view' and 'single' in it then the output ($this) is passed to the
display() function.
My question is what does :: means? an more precisely referring to the example:
JRequest::setVar('view, 'single'); how do you read it and how do you manage it?
Cheers, Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php