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:----PqbogzxNKXpqs2E9kdIE6BMCm9vos9xllWG6XWtq7ydOkQ/DEF6GtkeMpTHF/Az5Jx08yYvtEW27J6Kn5ds4OFLSz+iL+7vhQNJL48VLXkQilh/mbVhKd7aXg2EHeDVqOS2fX7n5L2WpH6Vqv2BwI5wPWmu+6RfffJIzeR4vAP+yplFFHGyLH1avpbJeEwRWm4fync2nkivO0a+7/M48tnoGg4EKI3FGl7u39nyFhSukJBL+aa22nUG5UL/oDsc0KBd72SgZD4CMmU8qNUa+Y2ys+h3DxrCpwbFTGo09NwKqj3QyopckWVlSH88LYUUlmVuKrBRyNwSJkNB/qVTxhqWscFSa22BJn2Nh2BWf+w1f0TY9WII1fxBkFX7V9JhmkqOac+h6C55cwk5yCp5DTefc05R+M8FNyy3yyXq4TiN9rxrs6N34tafdvCjzfQ22+/UZMsb4q8VpBCLocD8u/RLVJzlsqAMQVuKYVjjDdPxN1mGmeNGpq8zhMRHzwgHZmkt9lGLPt7yfN6EuTlJiRK4L7S+PvfgBhyMmP5RLMr26nccj84J9TWX338JJJkEuYwIs4iM9cqp/L5mFCy8z/4KHJjeWF0QOgeHI92jyx5RNAUYKWF7nDz0TgGVia+hL+IBIqL3khyiuGK68NFb77ZE1ZoSnDnskJancwBtvNaA=----ATTACHMENT:----NTQ0NzQxNzg5MDQ4NzY0NSA2NzQ0ODIyMTI3MTA5OTg4IDIzMjIzMTIxODgyMjIzODQ=