API15:JParameter/bind
From Joomla! Documentation
Description
Bind data to the parameter
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
bind($data, $group= '_default')
Parameter Name | Default Value | Description |
---|---|---|
$data | $data Array or Object | |
$group | '_default' |
Returns
boolean True if the data was successfully bound public
Defined in
libraries/joomla/html/parameter.php
Importing
jimport( 'joomla.html.parameter' );
Source Body
function bind($data, $group = '_default')
{
if ( is_array($data) ) {
return $this->loadArray($data, $group);
} elseif ( is_object($data) ) {
return $this->loadObject($data, $group);
} else {
return $this->loadINI($data, $group);
}
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples