Back to Form class

Method getErrors

public array
getErrors
()
Return all errors, if any.
Returns
  • array Array of error messages or RuntimeException objects.
Since
  • 1.7.0
Class: Form
Project: Joomla

Method getErrors - Source code

/**
 * Return all errors, if any.
 *
 * @return  array  Array of error messages or RuntimeException objects.
 *
 * @since   1.7.0
 */
public function getErrors()
{
    return $this->errors;
}