| @@ 310-316 (lines=7) @@ | ||
| 307 | * |
|
| 308 | * @return bool |
|
| 309 | */ |
|
| 310 | public function isRelationshipRetrieve() |
|
| 311 | { |
|
| 312 | if (false === $this->isRelationship()) { |
|
| 313 | return false; |
|
| 314 | } |
|
| 315 | return 'self' === $this->getRelationship()['type']; |
|
| 316 | } |
|
| 317 | ||
| 318 | /** |
|
| 319 | * Determines if this is an entity relationship modify (create/update/delete) request. |
|
| @@ 323-329 (lines=7) @@ | ||
| 320 | * |
|
| 321 | * @return bool |
|
| 322 | */ |
|
| 323 | public function isRelationshipModify() |
|
| 324 | { |
|
| 325 | if (false === $this->isRelationship()) { |
|
| 326 | return false; |
|
| 327 | } |
|
| 328 | return 'related' === $this->getRelationship()['type']; |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * Determines if this has an autocomplete filter enabled. |
|