Actions

API17

JTable::load

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 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 11.1

See also

SeeAlso:JTable::load [Edit See Also]

User contributed notes

<CodeExamplesForm />