Lines Matching refs:value
43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 function __construct(Document $root, $name, $value = null) { argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
81 * @param string $value
85 static function guessParameterNameByValue($value) { argument
86 switch (strtoupper($value)) {
179 * @param string|array $value
183 function setValue($value) { argument
185 $this->value = $value;
199 if (is_array($this->value)) {
200 return implode(',', $this->value);
202 return $this->value;
210 * @param array $value
214 function setParts(array $value) { argument
216 $this->value = $value;
229 if (is_array($this->value)) {
230 return $this->value;
231 } elseif (is_null($this->value)) {
234 return [$this->value];
251 if (is_null($this->value)) {
252 $this->value = $part;
254 $this->value = array_merge((array)$this->value, (array)$part);
266 * @param string $value
270 function has($value) { argument
273 strtolower($value),
274 array_map('strtolower', (array)$this->value)
286 $value = $this->getParts();
288 if (count($value) === 0) {
294 return implode(';', $value);
299 $value,
349 return $this->value;
363 foreach (explode(',', $this->value) as $value) {
364 $writer->writeElement('text', $value);
390 return $this->iterator = new ArrayIterator((array)$this->value);