references:joomla.framework:base:jobject-getget
This function gets the value of an object’s property. Syntaxmixed get ( $property, $default )
See also: * JObject::set * JObject::setProperties * JObject::getProperties ExamplesThis example uses the JBrowser class, which is a subclass of JObject. Example global $mainframe; $browser = &$mainframe->getBrowser(); print_r( $browser->get( '_images' ) ); might produce: Result Array ( [0] => jpeg [1] => gif [2] => png [3] => pjpeg [4] => x-png [5] => bmp ) Discussion |


