JDatabase::insertObject/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JDatabase::insertObject

Description

Inserts a row into a table based on an objects properties.

Description:JDatabase::insertObject [Edit Descripton]

public function insertObject (
        $table
        &$object
        $keyName=NULL
)
Parameter Type Default Description
$table string The name of the table
&$object object An object whose properties match table fields
$keyName string NULL The name of the primary key. If provided the object property is updated.
  • Returns
  • Defined on line 809 of libraries/joomla/database/database.php

See also

SeeAlso:JDatabase::insertObject [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox