Public Member Functions

ilBMFHeader Class Reference

Inheritance diagram for ilBMFHeader:
Collaboration diagram for ilBMFHeader:

Public Member Functions

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

Detailed Description

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


Member Function Documentation

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

Constructor.

Parameters:
string $name Name of the SOAP value {namespace}name.
mixed $type SOAP value {namespace}type. Determined automatically if not set.
mixed $value Value to set
integer $mustunderstand Zero or one.
mixed $attributes Attributes.

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

References ilBMFValue::$attributes, ilBMFValue::$name, ilBMFValue::$type, ilBMFValue::$value, and ilBMFValue::ilBMFValue().

    {
        if (!is_array($attributes)) {
            $actor = $attributes;
            $attributes = array();
        }

        parent::ilBMFValue($name, $type, $value, $attributes);

        if (isset($actor)) {
            $this->attributes['SOAP-ENV:actor'] = $actor;
        } elseif (!isset($this->attributes['SOAP-ENV:actor'])) {
            $this->attributes['SOAP-ENV:actor'] = 'http://schemas.xmlsoap.org/soap/actor/next';
        }
        $this->attributes['SOAP-ENV:mustUnderstand'] = (int)$mustunderstand;
    }

Here is the call graph for this function:


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