function NewCadastro(&$smarty, $form = false) { $registro = new Registro(); $saida = $registro->NewRegistro($smarty, $form); return $saida; }