Actions

API17

JObject::set

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JObject::set

Description

Modifies a property of the object, creating it if it does not already exist.

Description:JObject::set [Edit Descripton]

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

See also

  • Joomla 11.1 JObject::set source code on BitBucket
  • Joomla 11.1 Class JObject
  • Joomla 11.1 Subpackage Base
  • Other versions of JObject::set

SeeAlso:JObject::set [Edit See Also]

User contributed notes

<CodeExamplesForm />