4 * @author Marius Orcsik <marius@habarnam.ro>
7 class fooFieldDateTime
extends fooFieldA
{
8 const TYPE
= 'datetime';
9 protected $maxLength = 20; // arbitrary chosen, > strlen(YYYY-MM-DD GG:II:SS)
11 public function isVarChar (fooFieldA
$oField) {
12 return ($oField instanceof self
);
15 public function getType () {
19 protected function escape () {
20 // need a mechanism based on the connection type