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);
81 * @param string $value
84 public static function guessParameterNameByValue($value) { argument
85 switch(strtoupper($value)) {
178 * @param string|array $value
181 public function setValue($value) { argument
183 $this->value = $value;
197 if (is_array($this->value)) {
198 return implode(',' , $this->value);
200 return $this->value;
208 * @param array $value
211 public function setParts(array $value) { argument
213 $this->value = $value;
226 if (is_array($this->value)) {
227 return $this->value;
228 } elseif (is_null($this->value)) {
231 return array($this->value);
247 if (is_null($this->value)) {
248 $this->value = $part;
250 $this->value = array_merge((array)$this->value, (array)$part);
262 * @param string $value
265 public function has($value) { argument
268 strtolower($value),
269 array_map('strtolower', (array)$this->value)
281 $value = $this->getParts();
283 if (count($value)===0) {
289 return implode(';', $value);
294 $value,
344 return $this->value;
369 return $this->iterator = new ArrayObject((array)$this->value);