Segue também o rar do projeto até onde este vídeo vai, rodando 100%.
http://www.webat.com.br/minicurso2011/clientes.rar
Abraço a todos.
Dicas php, symfony, oracle 10g, mysql e Db4o. Cursos práticos e Tutoriais.
switch ($pattern)
{
case 'd':
return $this->formatInfo->ShortDatePattern;
break;
case 'D':
return $this->formatInfo->LongDatePattern;
break;
case 'p':
return $this->formatInfo->MediumDatePattern;
break;
case 'P':
return $this->formatInfo->FullDatePattern;
break;
case 't':
return $this->formatInfo->ShortTimePattern;
break;
case 'T':
return $this->formatInfo->LongTimePattern;
break;
case 'q':
return $this->formatInfo->MediumTimePattern;
break;
case 'Q':
return $this->formatInfo->FullTimePattern;
break;
case 'f':
return $this->formatInfo->formatDateTime($this->formatInfo->LongDatePattern, $this->formatInfo->ShortTimePattern);
break;
case 'F':
return $this->formatInfo->formatDateTime($this->formatInfo->LongDatePattern, $this->formatInfo->LongTimePattern);
break;
case 'g':
return $this->formatInfo->formatDateTime($this->formatInfo->ShortDatePattern, $this->formatInfo->ShortTimePattern);
break;
case 'G':
return $this->formatInfo->formatDateTime($this->formatInfo->ShortDatePattern, $this->formatInfo->LongTimePattern);
break;
case 'i':
return 'yyyy-MM-dd';
break;
case 'I':
return 'yyyy-MM-dd HH:mm:ss';
break;
case 'M':
case 'm':
return 'MMMM dd';
break;
case 'R':
case 'r':
return 'EEE, dd MMM yyyy HH:mm:ss';
break;
case 's':
return 'yyyy-MM-ddTHH:mm:ss';
break;
case 'u':
return 'yyyy-MM-dd HH:mm:ss z';
break;
case 'U':
return 'EEEE dd MMMM yyyy HH:mm:ss';
break;
case 'Y':
case 'y':
return 'yyyy MMMM';
break;
default :
return $pattern;