Exemple #1
0
 /**
  * Obtain an array of changes that may need to applied
  *
  * @param   array   new definition
  * @param   array   old definition
  *
  * @return  array   containing all changes that will need to be applied
  */
 public function compareDefinition($current, $previous)
 {
     $result = $this->loadModule('Datatype', null, true);
     if (MDB2::isError($result)) {
         return $result;
     }
     return $this->datatype->compareDefinition($current, $previous);
 }