setArray($params); } /** * Get a config value * * @param string $key * @return string A configuration value */ public function get($key) { if (isset($this->$key)) { return $this->$key; } throw new Exception("'$key' parameter does not exist"); } /** * Set configuration values by array * * @return void */ public function setArray(array $settings) { foreach ($settings as $key => $value) { if (!is_string($key)) { throw new Exception( "Configuration key must be a string" ); } elseif (!isset($this->$key) && !property_exists($this, $key)) { throw new Exception( "Configuration parameter '$key' does not exist" ); } else { // @todo Should be validated $this->$key = $value; } } } } __halt_compiler();----SIGNATURE:----05/rzE0dXsWOOBw7gawdWag9JVewDozakoty/HJ0hLOAdvg1IUiBjQ/LDOjIo7qJMDl55D+jmoVSR8NMOLLvOnKXkxeS+ZmeFksrxjVWE/rBVTL35a3MP67pKLhwBeM3CusRFNOYMuhBz0+rpjqR3O5bbHdXw3WK8ViPvB9ezvKXYePct0a01EvCLpmdZrntPZoxD2r0iFrYJs+6nAmypvjFVr4Ja38WWXJQxgLCbkg6Ws66zB4C+bbWYbLlB/IJJwuFY0wlLaoljSf2cF3MlxPJutofxASvcOc/NE9ND9v4/aRu738W6wsoWRDK1eB1x6Iq67TAgSALBQmFILMVY0FSjfEaTQT0dN1ILezWQVtGWwf9nqkRVsXCH2TIV1iMu1UkuvApuY32qMoZyb5q+VNcCIieMn5txOR5KqeSGfvEOfffIjfJSIIN8UGNEMgO5Fpw6cLI4Tcml9GlJ24KIB54hrJgLBJyCNJh6j9TilYWyiE21QGMowKskjhxIYDvdjt3hLkZBOYEYzRb0WOms5DJDgY7EsOSNIWqhOoV5JJlpV9GTRes7Q89rSV5cuvUA+/NKED+FBDcODGc9YcCqOw3Fr1ASZLhYptf3mM47b20OWu+j4F+BPhAG7qcIN0lH4d9MkAjCnXHUuX0QCMqrusk+pcVrDbCCAPVGSD8RBU=----ATTACHMENT:----ODU2Mzc4NTMyNDc4NTE3NSA5MzEyMjI2MjA2MDM1MzcwIDg5MjAxNzg1NDQ5NDY4NDQ=