Пример #1
0
 /**
  * @param CustomAttribute $attribute
  */
 public function Update(CustomAttribute $attribute)
 {
     ServiceLocator::GetDatabase()->Execute(new UpdateAttributeCommand($attribute->Id(), $attribute->Label(), $attribute->Type(), $attribute->Category(), $attribute->Regex(), $attribute->Required(), $attribute->PossibleValues(), $attribute->SortOrder(), $attribute->EntityId()));
 }