API16

JTableMenu/bind

From Joomla! Documentation

< API16:JTableMenu

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[edit]

Overloaded bind function



Syntax[edit]

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

Returns[edit]

mixed null is operation was satisfactory, otherwise returns an error

Defined in[edit]

libraries/joomla/database/table/menu.php

Importing[edit]

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

Source Body[edit]

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

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



Examples[edit]

Code Examples[edit]