API16:JTable/check
From Joomla! Documentation
Description
Method to perform sanity checks on the JTable instance properties to ensure they are safe to store in the database. Child classes should override this method to make sure the data they are storing in the database is safe and as expected before storage.
Template:Description:JTable/check
Syntax
check()
Returns
boolean True if the instance is sane and able to be stored in the database.
Defined in
libraries/joomla/database/table.php
Importing
jimport( 'joomla.database.table' );
Source Body
public function check()
{
return true;
}
[Edit See Also] Template:SeeAlso:JTable/check
Examples
<CodeExamplesForm />