JObject::def/1.6

From Joomla! Documentation

Jump to: navigation, search

Joomla 1.6 JObject::def

Description

Sets a default value if not alreay assigned.

Description:JObject::def [Edit Descripton]

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

See also

SeeAlso:JObject::def [Edit See Also]

User contributed notes


Personal tools