Lines Matching refs:this

51       $this->mapTypes($array);
53 $this->gapiInit();
63 $keyType = $this->keyType($key);
64 $keyDataType = $this->dataType($key);
65 if ($keyType && !isset($this->processed[$key])) {
66 if (isset($this->modelData[$key])) {
67 $val = $this->modelData[$key];
74 if ($this->isAssociativeArray($val)) {
77 $this->modelData[$key][$arrayKey] =
81 $this->modelData[$key] = new $keyType($val);
88 $this->modelData[$key] = $arrayObject;
90 $this->processed[$key] = true;
93 return isset($this->modelData[$key]) ? $this->modelData[$key] : null;
106 if ($keyType = $this->keyType($key)) {
107 $dataType = $this->dataType($key);
109 $this->$key = array();
112 $this->{$key}[$itemKey] = $itemVal;
114 $this->{$key}[$itemKey] = new $keyType($itemVal);
118 $this->$key = $val;
120 $this->$key = new $keyType($val);
123 } elseif (property_exists($this, $key)) {
124 $this->$key = $val;
126 } elseif (property_exists($this, $camelKey = $this->camelCase($key))) {
129 $this->$camelKey = $val;
132 $this->modelData = $array;
156 foreach ($this->modelData as $key => $val) {
157 $result = $this->getSimpleValue($val);
159 $object->$key = $this->nullPlaceholderCheck($result);
164 $reflect = new ReflectionObject($this);
168 $result = $this->getSimpleValue($this->$name);
170 $name = $this->getMappedName($name);
171 $object->$name = $this->nullPlaceholderCheck($result);
189 $a_value = $this->getSimpleValue($a_value);
191 $key = $this->getMappedName($key);
192 $return[$key] = $this->nullPlaceholderCheck($a_value);
216 if (isset($this->internal_gapi_mappings, $this->internal_gapi_mappings[$key])) {
217 $key = $this->internal_gapi_mappings[$key];
260 return isset($this->$offset) || isset($this->modelData[$offset]);
267 return isset($this->$offset) ?
268 $this->$offset :
269 $this->__get($offset);
276 if (property_exists($this, $offset)) {
277 $this->$offset = $value;
279 $this->modelData[$offset] = $value;
280 $this->processed[$offset] = true;
288 unset($this->modelData[$offset]);
296 if (property_exists($this, $keyType) && class_exists($this->$keyType)) {
297 return $this->$keyType;
305 if (property_exists($this, $dataType)) {
306 return $this->$dataType;
312 return isset($this->modelData[$key]);
317 unset($this->modelData[$key]);