Lines Matching refs:values
777 $values = $this->MethodCall();
783 if (isset($values[$property]) && ! in_array($values[$property], $enum['value'])) {
784 …Exception::enumeratorError($property, $name, $this->context, $enum['literal'], $values[$property]);
792 && !isset($values[$property]) && isset($values['value'])) {
797 if (!isset($values[$property])) {
807 if ( ! is_array($values[$property])) {
808 $values[$property] = array($values[$property]);
813 foreach ($values[$property] as $item) {
819 …} elseif (gettype($values[$property]) !== $type['type'] && !$values[$property] instanceof $type['t…
820 …uteTypeError($property, $originalName, $this->context, 'a(n) '.$type['value'], $values[$property]);
827 return new $name($values);
832 foreach ($values as $property => $value) {
840 …%s does not accept any values, but got %s.', $originalName, $this->context, json_encode($values)));
857 $values = array();
860 return $values;
866 $values = $this->Values();
871 return $values;
881 $values = array($this->Value());
897 $values[] = $value;
900 foreach ($values as $k => $value) {
902 $values[$value->name] = $value->value;
903 } else if ( ! isset($values['value'])){
904 $values['value'] = $value;
906 if ( ! is_array($values['value'])) {
907 $values['value'] = array($values['value']);
910 $values['value'][] = $value;
913 unset($values[$k]);
916 return $values;
1106 $array = $values = array();
1117 $values[] = $this->ArrayEntry();
1127 $values[] = $this->ArrayEntry();
1132 foreach ($values as $value) {