summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Object/ReportParameter.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Object/ReportParameter.php')
-rwxr-xr-xlibrary/SSRS/Object/ReportParameter.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/library/SSRS/Object/ReportParameter.php b/library/SSRS/Object/ReportParameter.php
index 60a09a2..d00e464 100755
--- a/library/SSRS/Object/ReportParameter.php
+++ b/library/SSRS/Object/ReportParameter.php
@@ -95,11 +95,27 @@ class ReportParameter extends ObjectAbstract {
*
* @return bool
*/
+ public function hasMissingValidValue() {
+ return ($this->getState() == 'MissingValidValue');
+ }
+
+ /**
+ *
+ * @return bool
+ */
public function getState() {
return key_exists('State', $this->data) ? $this->data['State'] : null;
}
/**
+ *
+ * @return string
+ */
+ public function getType() {
+ return $this->data['Type'];
+ }
+
+ /**
*
* @return bool
*/
@@ -115,4 +131,12 @@ class ReportParameter extends ObjectAbstract {
return ($this->isMultiValue() || (!empty($this->data['ValidValues']) && is_array($this->data['ValidValues']) && count($this->data['ValidValues']) > 0));
}
+ /**
+ *
+ * @return bool
+ */
+ public function isAllowBlank() {
+ return $this->data['AllowBlank'];
+ }
+
}