commit 2a5f1bbaf0da65bb0a710790bc2c2f19fe164f1b parent 37c6e5014d41b3440cb70110eae34dd169cde9c9 Author: Felicitus <felicitus@felicitus.org> Date: Tue, 21 Jun 2011 12:54:56 +0200 Added a method to retrieve all passed parameters for the specific service Diffstat:
M | src/de/RaumZeitLabor/PartKeepr/Service/Service.php | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/de/RaumZeitLabor/PartKeepr/Service/Service.php b/src/de/RaumZeitLabor/PartKeepr/Service/Service.php @@ -39,6 +39,14 @@ class Service { } } + /** + * Returns all parameters passed to the service + * @return array An array with all parameters (key=>value format) + */ + public function getParameters () { + return $this->params; + } + public function hasParameter ($name) { if (array_key_exists($name, $this->params)) { return true;