english/libraries/joomla/database/database/mysqlexporter.php
/**
	 * Checks if all data and options are in order prior to exporting.
	 *
	 * @return  JDatabaseExporterMySQL  Method supports chaining.
	 *
	 * @since   11.1
	 * @throws  Exception if an error is encountered.
	 */
Checks if all data and options are in order prior to exporting.
@return  JDatabaseExporterMySQL  Method supports chaining.

@since   11.1
@throws  Exception if an error is encountered.
Checks if all data and options are in order prior to exporting . @return JDatabaseExporterMySQL Method supports chaining . @since 11 . 1 @throws Exception if an error is encountered .
public function check()
	{
		if (!($this->db instanceof JDatabaseMySQL)) {
			throw new Exception('JPLATFORM_ERROR_DATABASE_CONNECTOR_WRONG_TYPE');
		}
		if (empty($this->from)) {
			throw new Exception('JPLATFORM_ERROR_NO_TABLES_SPECIFIED');
		}
		return $this;
	}
public function check ( ) { if ( ! ( $ this -> db instanceof JDatabaseMySQL ) ) { throw new Exception ( 'JPLATFORM_ERROR_DATABASE_CONNECTOR_WRONG_TYPE' ) ; } if ( empty ( $ this -> from ) ) { throw new Exception ( 'JPLATFORM_ERROR_NO_TABLES_SPECIFIED' ) ; } return $ this ; }
Checks if all data and options are in order prior to exporting.
Checks if all data and options are in order prior to exporting .
// Check if the db connector has been set. // Check if the tables have been specified.