JTableComponent/bind: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Overloaded bind function
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
... |
m removing red link to edit, no existant pages |
||
| Line 3: | Line 3: | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[< | <nowiki>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 50: | Line 50: | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[< | <nowiki>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Examples=== | ===Examples=== | ||
| Line 65: | Line 65: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API15]] | |||
Revision as of 18:53, 12 May 2013
Description
Overloaded bind function
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
bind($array, $ignore= '')
| Parameter Name | Default Value | Description |
|---|---|---|
| $array | $hash named array | |
| $ignore |
Returns
null|string null is operation was satisfactory, otherwise returns an error
Defined in
libraries/joomla/database/table/component.php
Importing
jimport( 'joomla.database.table.component' );
Source Body
function bind($array, $ignore = '')
{
if (is_array( $array['params'] ))
{
$registry = new JRegistry();
$registry->loadArray($array['params']);
$array['params'] = $registry->toString();
}
return parent::bind($array, $ignore);
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />