| @@ 287-293 (lines=7) @@ | ||
| 284 | * |
|
| 285 | * @return bool |
|
| 286 | */ |
|
| 287 | public function isRelationshipRetrieve() |
|
| 288 | { |
|
| 289 | if (false === $this->isRelationship()) { |
|
| 290 | return false; |
|
| 291 | } |
|
| 292 | return 'self' === $this->getRelationship()['type']; |
|
| 293 | } |
|
| 294 | ||
| 295 | /** |
|
| 296 | * Determines if this is an entity relationship modify (create/update/delete) request. |
|
| @@ 300-306 (lines=7) @@ | ||
| 297 | * |
|
| 298 | * @return bool |
|
| 299 | */ |
|
| 300 | public function isRelationshipModify() |
|
| 301 | { |
|
| 302 | if (false === $this->isRelationship()) { |
|
| 303 | return false; |
|
| 304 | } |
|
| 305 | return 'related' === $this->getRelationship()['type']; |
|
| 306 | } |
|
| 307 | ||
| 308 | /** |
|
| 309 | * Determines if this has an autocomplete filter enabled. |
|