From Joomla! Documentation

Revision as of 17:04, 20 January 2011 by Wouterdt (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


insertObject ( $ table, &$ object, $ keyName = NULL )

$table string The name of the table

&$object object An object whose properties match table fields

$keyname string The name of the primary key. If provided the object property is updated.


inserts the datamembers of the provided $object into the $table in the database.

Does not insert array's, objects, or NULL.

Also does not insert datamembers with a _ upfront (like $_data)