JTableMenu/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>
</spa... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| 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=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=bind | category=bind | ||
category=JTableMenu | category=JTableMenu | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API15]] | |||
Latest revision as of 01:11, 25 March 2017
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/menu.php
Importing
jimport( 'joomla.database.table.menu' );
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
Code Examples