API16:JTableViewlevel/check
From Joomla! Documentation
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 check the current record to save
Description:JTableViewlevel/check
Syntax
check()
Returns
boolean True on success
Defined in
libraries/joomla/database/table/viewlevel.php
Importing
jimport( 'joomla.database.table.viewlevel' );
Source Body
function check() { // Validate the title. if ((trim($this->title)) == '') { $this->setError(JText::_('Viewlevel must have a title')); return false; } return true; }
[Edit See Also] SeeAlso:JTableViewlevel/check
Examples
<CodeExamplesForm />
