public function loadArray($context_array)
    {
        foreach ($context_array as $key => $discard) {
            $this->register($key, $context_array[$key]);
        }
    }
public function loadArray($context_array)
    {
        foreach ($context_array as $key => $discard) {
            $this->register($key, $context_array[$key]);
        }
    }
public function loadArray ( $ context_array ) { foreach ( $ context_array as $ key => $ discard ) { $ this -> register ( $ key , $ context_array [ $ key ] ) ; } }
Loads a series of variables from an associative array
@param array $context_array Assoc array of variables to load
Loads a series of variables from an associative array