Public Member Functions | Data Fields

ilBMFValue Class Reference

Inheritance diagram for ilBMFValue:

Public Member Functions

 ilBMFValue ($name= '', $type=false, $value=null, $attributes=array())
 Constructor.
 serialize (&$serializer)
 Serializes this value.

Data Fields

 $value = null
 $name = ''
 $type = ''
 $namespace = ''
 $type_namespace = ''
 $attributes = array()
 $arrayType = ''
 $options = array()
 $nqn
 $tqn

Detailed Description

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


Member Function Documentation

ilBMFValue::ilBMFValue ( name = '',
type = false,
value = null,
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.
array $attributes Attributes.

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

References $attributes, $name, $type, and $value.

Referenced by ilBMFHeader::ilBMFHeader(), and SOAP_Attachment::SOAP_Attachment().

    {
        // Detect type if not passed.
        $this->nqn =& new QName($name);
        $this->name = $this->nqn->name;
        $this->namespace = $this->nqn->namespace;
        $this->tqn =& new QName($type);
        $this->type = $this->tqn->name;
        $this->type_prefix = $this->tqn->ns;
        $this->type_namespace = $this->tqn->namespace;
        $this->value =& $value;
        $this->attributes = $attributes;
    }

Here is the caller graph for this function:

ilBMFValue::serialize ( &$  serializer  ) 

Serializes this value.

Parameters:
ilBMFBase $serializer A ilBMFBase instance or subclass to serialize with.
Returns:
string XML representation of $this.

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

    {
        return $serializer->_serializeValue($this->value,
                                            $this->name,
                                            $this->type,
                                            $this->namespace,
                                            $this->type_namespace,
                                            $this->options,
                                            $this->attributes,
                                            $this->arrayType);
    }


Field Documentation

ilBMFValue::$arrayType = ''

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

ilBMFValue::$attributes = array()

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

Referenced by ilBMFHeader::ilBMFHeader(), and ilBMFValue().

ilBMFValue::$name = ''
ilBMFValue::$namespace = ''

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

ilBMFValue::$nqn

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

ilBMFValue::$options = array()

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

ilBMFValue::$tqn

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

ilBMFValue::$type = ''
ilBMFValue::$type_namespace = ''

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

ilBMFValue::$value = null

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

Referenced by ilBMFHeader::ilBMFHeader(), and ilBMFValue().


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