Actions

API17

Difference between revisions of "JParameter::bind"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JParameter::bind|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JParameter::bind|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JParameter->bind ($data, $group= '_default')
+
public function bind (
 +
        $data
 +
        $group= '_default'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if the data was successfully bound, false otherwise.
boolean True if the data was successfully bound, false otherwise.
+
* '''Defined''' on line 134 of libraries/joomla/html/parameter.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/parameter.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JParameter::bind source code''' on [[jplatform:html/parameter.php#cl-126|BitBucket]]
 +
* {{JVer|11.1}} Class [[JParameter/11.1|JParameter]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JParameter::bind|Other versions of JParameter::bind]]
 +
{{SeeAlso:JParameter::bind}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::bind|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::bind|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JParameter/11.1|JParameter]]
+
===User contributed notes===
* [[JParameter::bind|Other versions of this method]]
+
{{SeeAlso:JParameter::bind}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 52: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JParameter]][[Category:JParameter::bind]]</noinclude>
 
<noinclude>[[Category:JParameter]][[Category:JParameter::bind]]</noinclude>

Revision as of 20:28, 27 April 2011

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 JParameter::bind

Description

Bind data to the parameter.

Description:JParameter::bind [Edit Descripton]

public function bind (
        $data
        $group= '_default'
)
Parameter Type Default Description
$data mixed An array or object.
$group string '_default' An optional group that the data should bind to. The default group is used if not supplied.
  • Returns boolean True if the data was successfully bound, false otherwise.
  • Defined on line 134 of libraries/joomla/html/parameter.php
  • Since Joomla 11.1

See also

SeeAlso:JParameter::bind [Edit See Also]

User contributed notes

<CodeExamplesForm />