Actions

API16

JTableCategory/bind

From Joomla! Documentation

< API16:JTableCategory
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:JTableCategory/bind

Syntax

bind($array, $ignore= '')
Parameter Name Default Value Description
$array named array
$ignore

Returns

null|string null is operation was satisfactory, otherwise returns an error

Defined in

libraries/joomla/database/table/category.php

Importing

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

Source Body

public 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['metadata']) && is_array($array['metadata'])) {
                $registry = new JRegistry();
                $registry->loadArray($array['metadata']);
                $array['metadata'] = (string)$registry;
        }
 
        return parent::bind($array, $ignore);
}

[Edit See Also] SeeAlso:JTableCategory/bind

Examples

<CodeExamplesForm />