protected function loadFromArray(array $params)
    {
        if (isset($params['returnXml']) && is_bool($params['returnXml'])) {
            $this->returnXml = $params['returnXml'];
        }

        $this->loadRequestCreator($params);
        $this->loadSessionHandler($params);
        $this->loadResponseHandler($params);

        $this->loadAuthParams($params);

        $this->loadSessionHandlerParams($params);
        $this->loadRequestCreatorParams($params);
    }
protected function loadFromArray(array $params)
    {
        if (isset($params['returnXml']) && is_bool($params['returnXml'])) {
            $this->returnXml = $params['returnXml'];
        }

        $this->loadRequestCreator($params);
        $this->loadSessionHandler($params);
        $this->loadResponseHandler($params);

        $this->loadAuthParams($params);

        $this->loadSessionHandlerParams($params);
        $this->loadRequestCreatorParams($params);
    }
protected function loadFromArray ( array $ params ) { if ( isset ( $ params [ 'returnXml' ] ) && is_bool ( $ params [ 'returnXml' ] ) ) { $ this -> returnXml = $ params [ 'returnXml' ] ; } $ this -> loadRequestCreator ( $ params ) ; $ this -> loadSessionHandler ( $ params ) ; $ this -> loadResponseHandler ( $ params ) ; $ this -> loadAuthParams ( $ params ) ; $ this -> loadSessionHandlerParams ( $ params ) ; $ this -> loadRequestCreatorParams ( $ params ) ; }
Load parameters from an associative array

@param array $params
@return void
Load parameters from an associative array