Support Joomla!

references:joomla.framework:database:jdatabasemysql-insertobject

Table of Contents

insertObject

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Database Class JDatabaseMySQL Method insertObject Reference insertObject() Never Work in Progress

Inserts a row into a table based on an objects properties

Syntax

void insertObject ( $table, &$object, $keyName )

$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.

Examples

Example


Discussion

Full name:
E-Mail:
 
references/joomla.framework/database/jdatabasemysql-insertobject.txt (457 views) · Last modified: 2007/08/15 14:53