Actions

API16

JTable/check

From Joomla! Documentation

< API16:JTable
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.

Contents

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.

[Edit Descripton]

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] SeeAlso:JTable/check

Examples

<CodeExamplesForm />