*/ if (isset($_SESSION['errorMessages'])) { $errorBlock = new Block('errorMessages.inc',array('errorMessages'=>$_SESSION['errorMessages'])); echo $errorBlock->render($this->outputFormat); unset($_SESSION['errorMessages']); }