예제 #1
0
파일: Year.php 프로젝트: nmx/Modyllic
 function equal_to(Modyllic_Type $other)
 {
     if (!parent::equal_to($other)) {
         return false;
     }
     if ($this->length != $other->length) {
         return false;
     }
     return true;
 }
예제 #2
0
파일: String.php 프로젝트: nmx/Modyllic
 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;
 }