Actions

API15

JTableSection/bind

From Joomla! Documentation

< API15:JTableSection
Revision as of 17:17, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Contents

Description

Overloaded bind function

[Edit Descripton]

Description:JTableSection/bind

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

Importing

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

Source Body

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

[Edit See Also] SeeAlso:JTableSection/bind

Examples

<CodeExamplesForm />