JTable::load/1.6

From Joomla! Documentation

Jump to: navigation, search

Joomla 1.6 JTable::load

Description

Method to load a row from the database by primary key and bind the fields to the instance properties.

Description:JTable::load [Edit Descripton]

public function load (
        $keys=null
        $reset=true
)
Parameter Type Default Description
$keys mixed null An optional primary key value to load the row by, or an array of fields to match. If not set the instance property value is used.
$reset boolean true True to reset the default values before loading the new row.
  • Returns boolean True if successful. False if row not found or on error (internal error state set in that case).
  • Defined on line 428 of libraries/joomla/database/table.php
  • Since Joomla 1.0

See also

SeeAlso:JTable::load [Edit See Also]

User contributed notes


Personal tools