API15

JTableComponent/bind: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 55: Line 55:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=bind
  category=bind
  category=JTableComponent
  category=JTableComponent
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

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/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

Code Examples