english/libraries/joomla/database/table/update.php
/**
	* Overloaded check function
	*
	* @return  boolean  True if the object is ok
	*
	* @see     JTable:bind
	* @since   11.1
	*/
Overloaded check function
@return  boolean  True if the object is ok


Overloaded check function @return boolean True if the object is ok
public function check()
	{
		if (trim( $this->name ) == '' || trim( $this->element ) == '') {
			$this->setError(JText::_('JLIB_DATABASE_ERROR_MUSTCONTAIN_A_TITLE_EXTENSION'));
			return false;
		}
		return true;
	}
public function check ( ) { if ( trim ( $ this -> name ) == '' || trim ( $ this -> element ) == '' ) { $ this -> setError ( JText :: _ ( 'JLIB_DATABASE_ERROR_MUSTCONTAIN_A_TITLE_EXTENSION' ) ) ; return false ; } return true ; }
Overloaded check function
 @return  boolean  True if the object is ok
Overloaded check function @return boolean True if the object is ok
// check for valid name