Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/PAMI/Message/Action/GetConfigAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
11 changes: 11 additions & 0 deletions src/PAMI/Message/Action/UpdateConfigAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down