From f1dc568afeab933ea48c0fdb940e2faa5693b1ba Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 3 Aug 2009 12:44:53 +0000 Subject: [PATCH] Configuration: Add function to retrieve the whole configuration array. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1599 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Configuration.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/SimpleSAML/Configuration.php b/lib/SimpleSAML/Configuration.php index 7d1a00c32..b17453444 100644 --- a/lib/SimpleSAML/Configuration.php +++ b/lib/SimpleSAML/Configuration.php @@ -723,6 +723,17 @@ class SimpleSAML_Configuration { return array_keys($this->configuration); } + + /** + * Convert this configuration object back to an array. + * + * @return array An associative array with all configuration options and values. + */ + public function toArray() { + + return $this->configuration; + } + } ?> \ No newline at end of file -- GitLab