From Joomla! Documentation

The "API17" 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.

Joomla 11.1 JTable::load


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

public function load (
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 11.1

See also

User contributed notes

Code Examples