Esempio n. 1
0
 function attribute(Attribute $attribute, $assoc)
 {
     $attribute->with('association');
     if (isset($attribute->association) && $assoc) {
         return;
     }
     $id = $this->attribute_id($attribute->id_attribute);
     $scope = $attribute->static ? 'classifier' : 'instance';
     $this->uml_empty_element('Attribute', $id, $attribute->name, null, array('scope' => $scope, 'changeability' => "changeable", 'targetScope' => "instance", 'ownerScope' => $scope, 'type' => $this->type_id($attribute->type), 'owner' => $this->class_id($attribute->id_class)), $attribute->access);
 }