Lines Matching refs:value
32 * @param string|array $value
34 public function setValue($value) argument
37 if ($value instanceof \StdClass) {
38 $value = (array) $value;
41 if (is_array($value)) {
43 foreach ($value as $k => $v) {
60 $this->value = $newVal;
61 } elseif (is_string($value)) {
62 $this->value = self::stringToArray($value);
82 foreach ($this->value as $key => $value) {
83 $out[] = $key.'='.(is_array($value) ? implode(',', $value) : $value);
109 return $this->value;
182 foreach ($this->getJsonValue() as $value) {
183 $writer->writeElement($valueType, $value);
190 * @param string $value
194 public static function stringToArray($value) argument
196 $value = strtoupper($value);
198 foreach (explode(';', $value) as $part) {
244 foreach ($values as $key => $value) {
245 if ('' === $value) {
255 $byMonth = (array) $value;
264 if (is_array($value)) {
273 if (is_array($value) && empty($values[$key])) {
277 $byWeekNo = (array) $value;
286 if (is_array($value)) {
295 if (is_array($value) && empty($values[$key])) {
299 $byYearDay = (array) $value;
308 if (is_array($value)) {
317 if (is_array($value) && empty($values[$key])) {