API16

JTableExtension/bind

< API16:JTableExtension

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Overloaded bind function



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/extension.php

Importing

jimport( 'joomla.database.table.extension' );

Source Body

function bind($array, $ignore = '')
{
        if (isset($array['params']) && is_array($array['params']))
        {
                $registry = new JRegistry();
                $registry->loadArray($array['params']);
                $array['params'] = (string)$registry;
        }

        if (isset($array['control']) && is_array($array['control']))
        {
                $registry = new JRegistry();
                $registry->loadArray($array['control']);
                $array['control'] = (string)$registry;
        }

        return parent::bind($array, $ignore);
}



Examples

Code Examples


Advertisement