ILIAS  release_4-4 Revision
ilBMFHeader Class Reference
+ Inheritance diagram for ilBMFHeader:
+ Collaboration diagram for ilBMFHeader:

Public Member Functions

 ilBMFHeader ($name='', $type, $value, $mustunderstand=0, $attributes=array())
 Constructor. More...
 
- Public Member Functions inherited from ilBMFValue
 ilBMFValue ($name='', $type=false, $value=null, $attributes=array())
 Constructor. More...
 
 serialize (&$serializer)
 Serializes this value. More...
 

Additional Inherited Members

- Data Fields inherited from ilBMFValue
 $value = null
 
 $name = ''
 
 $type = ''
 
 $namespace = ''
 
 $type_namespace = ''
 
 $attributes = array()
 
 $arrayType = ''
 
 $options = array()
 
 $nqn
 
 $tqn
 

Detailed Description

Definition at line 136 of file class.ilBMFValue.php.

Member Function Documentation

◆ ilBMFHeader()

ilBMFHeader::ilBMFHeader (   $name = '',
  $type,
  $value,
  $mustunderstand = 0,
  $attributes = array() 
)

Constructor.

Parameters
string$nameName of the SOAP value {namespace}name.
mixed$typeSOAP value {namespace}type. Determined automatically if not set.
mixed$valueValue to set
integer$mustunderstandZero or one.
mixed$attributesAttributes.

Definition at line 148 of file class.ilBMFValue.php.

References ilBMFValue\$attributes.

150  {
151  if (!is_array($attributes)) {
152  $actor = $attributes;
153  $attributes = array();
154  }
155 
156  parent::ilBMFValue($name, $type, $value, $attributes);
157 
158  if (isset($actor)) {
159  $this->attributes['SOAP-ENV:actor'] = $actor;
160  } elseif (!isset($this->attributes['SOAP-ENV:actor'])) {
161  $this->attributes['SOAP-ENV:actor'] = 'http://schemas.xmlsoap.org/soap/actor/next';
162  }
163  $this->attributes['SOAP-ENV:mustUnderstand'] = (int)$mustunderstand;
164  }

The documentation for this class was generated from the following file: