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

Public Member Functions

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

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

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

References $attributes, and $value.

88  {
89  // Detect type if not passed.
90  $this->nqn =& new QName($name);
91  $this->name = $this->nqn->name;
92  $this->namespace = $this->nqn->namespace;
93  $this->tqn =& new QName($type);
94  $this->type = $this->tqn->name;
95  $this->type_prefix = $this->tqn->ns;
96  $this->type_namespace = $this->tqn->namespace;
97  $this->value =& $value;
98  $this->attributes = $attributes;
99  }

◆ serialize()

ilBMFValue::serialize ( $serializer)

Serializes this value.

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

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

110  {
111  return $serializer->_serializeValue($this->value,
112  $this->name,
113  $this->type,
114  $this->namespace,
115  $this->type_namespace,
116  $this->options,
117  $this->attributes,
118  $this->arrayType);
119  }

Field Documentation

◆ $arrayType

ilBMFValue::$arrayType = ''

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

◆ $attributes

ilBMFValue::$attributes = array()

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

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

◆ $name

ilBMFValue::$name = ''

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

◆ $namespace

ilBMFValue::$namespace = ''

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

◆ $nqn

ilBMFValue::$nqn

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

◆ $options

ilBMFValue::$options = array()

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

◆ $tqn

ilBMFValue::$tqn

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

◆ $type

ilBMFValue::$type = ''

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

◆ $type_namespace

ilBMFValue::$type_namespace = ''

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

◆ $value

ilBMFValue::$value = null

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

Referenced by ilBMFValue().


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