Lines Matching refs:value
43 protected $value; variable in Sabre\\VObject\\Parameter
51 * @param string $value
53 public function __construct(Document $root, $name, $value = null) argument
59 $this->name = static::guessParameterNameByValue($value);
67 $this->name = strtoupper($value);
69 $this->setValue($value);
80 * @param string $value
84 public static function guessParameterNameByValue($value) argument
86 switch (strtoupper($value)) {
178 * @param string|array $value
180 public function setValue($value) argument
182 $this->value = $value;
195 if (is_array($this->value)) {
196 return implode(',', $this->value);
198 return $this->value;
205 * @param array $value
207 public function setParts(array $value) argument
209 $this->value = $value;
221 if (is_array($this->value)) {
222 return $this->value;
223 } elseif (is_null($this->value)) {
226 return [$this->value];
240 if (is_null($this->value)) {
241 $this->value = $part;
243 $this->value = array_merge((array) $this->value, (array) $part);
254 * @param string $value
258 public function has($value) argument
261 strtolower($value),
262 array_map('strtolower', (array) $this->value)
273 $value = $this->getParts();
275 if (0 === count($value)) {
280 return implode(';', $value);
284 $value,
334 return $this->value;
345 foreach (explode(',', $this->value) as $value) {
346 $writer->writeElement('text', $value);
371 return $this->iterator = new ArrayIterator((array) $this->value);