| @@ 242-248 (lines=7) @@ | ||
| 239 | * |
|
| 240 | * @return bool |
|
| 241 | */ |
|
| 242 | public function isRelationshipRetrieve() |
|
| 243 | { |
|
| 244 | if (false === $this->isRelationship()) { |
|
| 245 | return false; |
|
| 246 | } |
|
| 247 | return 'self' === $this->getRelationship()['type']; |
|
| 248 | } |
|
| 249 | ||
| 250 | /** |
|
| 251 | * Determines if this is an entity relationship modify (create/update/delete) request. |
|
| @@ 255-261 (lines=7) @@ | ||
| 252 | * |
|
| 253 | * @return bool |
|
| 254 | */ |
|
| 255 | public function isRelationshipModify() |
|
| 256 | { |
|
| 257 | if (false === $this->isRelationship()) { |
|
| 258 | return false; |
|
| 259 | } |
|
| 260 | return 'related' === $this->getRelationship()['type']; |
|
| 261 | } |
|
| 262 | ||
| 263 | /** |
|
| 264 | * Determines if this has an autocomplete filter enabled. |
|