API15

JTableModule/bind

From Joomla! Documentation

< API15:JTableModule
Revision as of 17:16, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Overloaded bind function <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API15" 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

[Edit Descripton]

Template:Description:JTableModule/bind

Syntax[edit]

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

Returns[edit]

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

Defined in[edit]

libraries/joomla/database/table/module.php

Importing[edit]

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

Source Body[edit]

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

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

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

[Edit See Also] Template:SeeAlso:JTableModule/bind

Examples[edit]

<CodeExamplesForm />