Пример #1
0
 /**
  * Возвращает _копию_ схемы, соединенную с родительской
  *
  * @return CM_Fieldschema
  */
 public function get_fieldschema()
 {
     if (!is_null($this->_parent)) {
         return CM_Fieldschema::merge($this->_parent->get_fieldschema(), $this->_fieldschema);
     }
     return clone $this->_fieldschema;
 }