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:----zl2hLn8p5iYEQuV3fJ9ayZSKtLc/oXlzvT9tclAxWLUCKMWUfTzi6gjKbmVELokHR6N9gXad9XPxq3LW6TGZbr8/2w2s2xhrgiTAEZX+XxkydoowNuL+2Dh6pWSAwAfDlnn6E1QNaEwOaCNlbu2WGIM3yNAHex7ckJEziHMN62ZcJZ/bsLYJUUSVG6A0NqsrdteEctpMgLLNDVd30jUv3+LjHYiymqaxkyRAijAaikcqJRv4GaQPA9J+86821k2mlnfCS5BvrDgu087M2nduf2qoJxaekFFh+Xc3i48Y0sb9OmCMDKIiBGA9VdZ3DVu90AoxU0TPJkpmAG/9+f6AiweKX2euhlhMgItilHQvCIWa0SnfG32ZuV+YfYSOmr2tiS8pnM8o5mP0a4rcIYls+QTOeHSzV1YPz+lZUH496pGIMo588crmuEPLPvMwHogWtmNvvAeF4rwbbNw4RHMLw+UqpLCJgxNA5l6j1k2ky5luuUMylcPaWc3qllMjW5BtDqmRjVzKjZG2nBoHcL3Mcwnz8MNY4DHx/oUY59t+uLAfiWJQhbHp7AqP0ccQ+Kk9oRlXfQYzvHrbCJegJPpzxhdmsgS5nwWuxXxDsnczlrR7dD46mTUO1SbUUysugrtujS1EOH9GvYuAa5N+Qt2tpFum0knfLoXQS8dHguw5EVk=----ATTACHMENT:----OTY5NTE2NDM0MTY4NzkzNiAyNzM0NjAwNjU1OTE1NzU1IDU2NTQ1NTM5MDUzMDk3Mjk=