JTableUsergroup/check
From Joomla! Documentation
< API16:JTableUsergroup
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Method to check the current record to save
Syntax[edit]
check()
Returns[edit]
boolean True on success
Defined in[edit]
libraries/joomla/database/table/usergroup.php
Importing[edit]
jimport( 'joomla.database.table.usergroup' );
Source Body[edit]
function check()
{
// Validate the title.
if ((trim($this->title)) == '') {
$this->setError(JText::_('Usergroup must have a title'));
return false;
}
return true;
}
Examples[edit]
Code Examples[edit]