| @@ 297-303 (lines=7) @@ | ||
| 294 | * |
|
| 295 | * @return bool |
|
| 296 | */ |
|
| 297 | public function isRelationshipRetrieve() |
|
| 298 | { |
|
| 299 | if (false === $this->isRelationship()) { |
|
| 300 | return false; |
|
| 301 | } |
|
| 302 | return 'self' === $this->getRelationship()['type']; |
|
| 303 | } |
|
| 304 | ||
| 305 | /** |
|
| 306 | * Determines if this is an entity relationship modify (create/update/delete) request. |
|
| @@ 310-316 (lines=7) @@ | ||
| 307 | * |
|
| 308 | * @return bool |
|
| 309 | */ |
|
| 310 | public function isRelationshipModify() |
|
| 311 | { |
|
| 312 | if (false === $this->isRelationship()) { |
|
| 313 | return false; |
|
| 314 | } |
|
| 315 | return 'related' === $this->getRelationship()['type']; |
|
| 316 | } |
|
| 317 | ||
| 318 | /** |
|
| 319 | * Determines if this has an autocomplete filter enabled. |
|