|
@@ 144-146 (lines=3) @@
|
| 141 |
|
* @return string The query string |
| 142 |
|
*/ |
| 143 |
|
protected function getQueryString($options) { |
| 144 |
|
if (isset($options['global']) && !in_array($options['global'], $this->validBooleanQueryStrings)) { |
| 145 |
|
throw new LiftSdkException('The "global" parameter must be a string value of "true" or "false", or absent.'); |
| 146 |
|
} |
| 147 |
|
if (isset($options['limit_by_site']) && !in_array($options['limit_by_site'], $this->validBooleanQueryStrings)) { |
| 148 |
|
throw new LiftSdkException('The "limit_by_site" parameter must be a string value of "true" or "false", or absent.'); |
| 149 |
|
} |
|
@@ 147-149 (lines=3) @@
|
| 144 |
|
if (isset($options['global']) && !in_array($options['global'], $this->validBooleanQueryStrings)) { |
| 145 |
|
throw new LiftSdkException('The "global" parameter must be a string value of "true" or "false", or absent.'); |
| 146 |
|
} |
| 147 |
|
if (isset($options['limit_by_site']) && !in_array($options['limit_by_site'], $this->validBooleanQueryStrings)) { |
| 148 |
|
throw new LiftSdkException('The "limit_by_site" parameter must be a string value of "true" or "false", or absent.'); |
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
return parent::getQueryString($options); |
| 152 |
|
} |