source/Core/UtilsView.php
public function passAllErrorsToView(&$aView, $errors)
    {
        if (count($errors) > 0) {
            foreach ($errors as $sLocation => $aEx2) {
                foreach ($aEx2 as $sKey => $oEr) {
                    $aView['Errors'][$sLocation][$sKey] = unserialize($oEr);
                }
            }
        }
    }
public function passAllErrorsToView(&$aView, $errors)
    {
        if (count($errors) > 0) {
            foreach ($errors as $sLocation => $aEx2) {
                foreach ($aEx2 as $sKey => $oEr) {
                    $aView['Errors'][$sLocation][$sKey] = unserialize($oEr);
                }
            }
        }
    }
public function passAllErrorsToView ( & $ aView , $ errors ) { if ( count ( $ errors ) > 0 ) { foreach ( $ errors as $ sLocation => $ aEx2 ) { foreach ( $ aEx2 as $ sKey => $ oEr ) { $ aView [ 'Errors' ] [ $ sLocation ] [ $ sKey ] = unserialize ( $ oEr ) ; } } } }
adds the given errors to the view array

@param array $aView  view data array
@param array $errors array of errors to pass to view
adds the given errors to the view array