public function getErrors($name)
    {
        $errors = $this->getValidationErrors();

        if ($this->hasErrors($name)) {
            return $errors[$name];
        }

        return array();
    }