public function getValue($flag = self::AS_STRING) { $array = $this->value; $out = $this->arraySetString($this->value, $flag); if ($flag == self::AS_STRING) { $this->value = $out; $out = parent::getValue(); $this->value = $array; } return $out; }