src/MVC/MVCTrait.php
protected function fails($fieldname = null) {
		
		$helper = new StringToArray();
		return $helper -> execute($fieldname, null, Message :: getErrors(true));
	}
protected function fails($fieldname = null) {
		
		$helper = new StringToArray();
		return $helper -> execute($fieldname, null, Message :: getErrors(true));
	}
protected function fails ( $ fieldname = null ) { $ helper = new StringToArray ( ) ; return $ helper -> execute ( $ fieldname , null , Message :: getErrors ( true ) ) ; }
Get the error message from the validator by fieldname
@param string $fieldname
@return string
Get the error message from the validator by fieldname