JRegistry::bindData: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method to recursively bind data to a parent object. | Method to recursively bind data to a parent object. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 38: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | ||
* [[API17:JRegistry::bindData|Other versions of JRegistry::bindData]] | * [[API17:JRegistry::bindData|Other versions of JRegistry::bindData]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistry::bindData | category=JRegistry::bindData | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:33, 25 March 2017
JRegistry::bindData
Description
Method to recursively bind data to a parent object.
protected function bindData (
&$parent
$data
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$parent | object | $parent The parent object on which to attach the data values. | |
| $data | mixed | An array or object of data to bind to the parent object. |
See also
JRegistry::bindData source code on BitBucket
Class JRegistry
Subpackage Registry- Other versions of JRegistry::bindData
User contributed notes
Code Examples