Exemplo n.º 1
0
 function equal_to(Modyllic_Type $other)
 {
     if (!parent::equal_to($other)) {
         return false;
     }
     if ($this->length != $other->length) {
         return false;
     }
     return true;
 }
Exemplo n.º 2
0
 function equal_to(Modyllic_Type $other)
 {
     if (!parent::equal_to($other)) {
         return false;
     }
     if ($this->charset() != $other->charset()) {
         return false;
     }
     if ($this->collate() != $other->collate()) {
         return false;
     }
     return true;
 }