Back to TableInterface class

Method check

public bool
check
()
Method to perform sanity checks on the TableInterface instance properties to ensure they are safe to store in the database.
Returns
  • bool True if the instance is sane and able to be stored in the database.
Since
  • 3.2

Method check - Source code

/**
 * Method to perform sanity checks on the TableInterface instance properties to ensure they are safe to store in the database.
 *
 * Implementations of this interface should use this method to make sure the data they are storing in the database is safe and
 * as expected before storage.
 *
 * @return  boolean  True if the instance is sane and able to be stored in the database.
 *
 * @since   3.2
 */
public function check();