Re: Joomla FrameWork ::

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think si related to class and methods,

JRequest Class have a method called setVar, right? if this is correct sorry for posting the question, i just haven't started yet classes and methods...;-)
On May 2, 2010, at 4:41 PM, Nick Balestra wrote:

> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux