Lines Matching refs:value
32 * @param string|array $value
36 function setValue($value) { argument
39 if ($value instanceof \StdClass) {
40 $value = (array)$value;
43 if (is_array($value)) {
45 foreach ($value as $k => $v) {
63 $this->value = $newVal;
64 } elseif (is_string($value)) {
65 $this->value = self::stringToArray($value);
86 foreach ($this->value as $key => $value) {
87 $out[] = $key . '=' . (is_array($value) ? implode(',', $value) : $value);
115 return $this->value;
196 foreach ($this->getJsonValue() as $value) {
197 $writer->writeElement($valueType, $value);
205 * @param string $value
209 static function stringToArray($value) { argument
211 $value = strtoupper($value);
213 foreach (explode(';', $value) as $part) {
261 foreach ($values as $key => $value) {
263 if ($value === '') {
273 $byMonth = (array)$value;
282 if (is_array($value)) {
291 if (is_array($value) && empty($values[$key])) {
295 $byWeekNo = (array)$value;
304 if (is_array($value)) {
313 if (is_array($value) && empty($values[$key])) {
317 $byYearDay = (array)$value;
326 if (is_array($value)) {
335 if (is_array($value) && empty($values[$key])) {