$user->_validate()->errors()
or
$user->validate()->errors()
depending on the version you are using.
Or you can add a method to application / classes / orm.php with this:
class ORM extends Kohana_ORM {
public function errors($file = 'validate', $translate = TRUE)
{
return $this->_validate->errors( $file, $translate );
}
}
as well as call errors with $ user-> errors (), which I find much easier
source
share