| @@ 79-83 (lines=5) @@ | ||
| 76 | */ |
|
| 77 | public function setExpandResult(ODataExpandedResult $eResult) |
|
| 78 | { |
|
| 79 | if (null !== $eResult->feed) { |
|
| 80 | $this->isExpanded = true; |
|
| 81 | $this->isCollection = true; |
|
| 82 | $this->expandedResult = $eResult->feed; |
|
| 83 | } |
|
| 84 | if (null !== $eResult->entry) { |
|
| 85 | $this->isExpanded = true; |
|
| 86 | $this->isCollection = false; |
|
| @@ 84-88 (lines=5) @@ | ||
| 81 | $this->isCollection = true; |
|
| 82 | $this->expandedResult = $eResult->feed; |
|
| 83 | } |
|
| 84 | if (null !== $eResult->entry) { |
|
| 85 | $this->isExpanded = true; |
|
| 86 | $this->isCollection = false; |
|
| 87 | $this->expandedResult = $eResult->entry; |
|
| 88 | } |
|
| 89 | } |
|
| 90 | } |
|
| 91 | ||