diff --git a/src/PAMI/Message/Action/GetConfigAction.php b/src/PAMI/Message/Action/GetConfigAction.php index 327389668..2689dab8f 100644 --- a/src/PAMI/Message/Action/GetConfigAction.php +++ b/src/PAMI/Message/Action/GetConfigAction.php @@ -59,4 +59,15 @@ public function __construct($filename, $category = false) $this->setKey('Category', $category); } } + + /** + * Sets Filter. + * + * @param string $filter. + * + * @return void + */ + public function setFilter($filter) { + $this->setKey('Filter', $filter); + } } diff --git a/src/PAMI/Message/Action/UpdateConfigAction.php b/src/PAMI/Message/Action/UpdateConfigAction.php index 221a85a35..8d1cf6b16 100644 --- a/src/PAMI/Message/Action/UpdateConfigAction.php +++ b/src/PAMI/Message/Action/UpdateConfigAction.php @@ -165,6 +165,17 @@ public function setLine($input) { $this->setKey('Line-'.$this->getPaddedCounter(), $input); } + + /** + * Sets Options-XXXXXX key. + * + * @param string $input. + *r + * @return void + */ + public function setOptions($input) { + $this->setKey('Options-'.$this->getPaddedCounter(), $input); + } /** * Returns the string representation for counter with leading zeroes in UpdateConfig action format.