API17

API17:JObject::get

From Joomla! Documentation

Joomla 11.1 JObject::get

Description

Returns a property of the object or the default value if the property is not set.


public function get (
        $property
        $default=null
)
Parameter Type Default Description
$property string The name of the property.
$default mixed null The default value.
  • Returns mixed The value of the property.
  • Defined on line 81 of libraries/joomla/base/object.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples