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