Public Member Functions | Data Fields

ilBMFValue Class Reference

Inheritance diagram for ilBMFValue:

Public Member Functions

 ilBMFValue ($name= '', $type=false, $value, $attributes=array())
serialize (&$serializer)
 Serialize.

Data Fields

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

Detailed Description

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


Member Function Documentation

ilBMFValue::ilBMFValue ( name = '',
type = false,
value,
attributes = array() 
)
Parameters:
string name of the soap-value {namespace}name
mixed soap value {namespace}type, if not set an automatic
mixed value to set

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

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

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

    {
        // 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  ) 

Serialize.

Returns:
string xml representation

Definition at line 104 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 71 of file class.ilBMFValue.php.

ilBMFValue::$attributes = array()

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

Referenced by ilBMFValue().

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

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

ilBMFValue::$nqn

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

ilBMFValue::$options = array()

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

ilBMFValue::$tqn

Definition at line 76 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 43 of file class.ilBMFValue.php.

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


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