protected function defaultData()
    {
        $context = Context::getInstance();

        $this->setData('extension', $context->getExtensionName());
        $this->setData('module', $context->getModuleName());
        $this->setData('action', $context->getActionName());

        if ($this->hasRequestParameter('uri')) {
            // inform the client of new classUri
            $this->setData('uri', $this->getRequestParameter('uri'));
        }

        if ($this->hasRequestParameter('classUri')) {
            // inform the client of new classUri
            $this->setData('uri', $this->getRequestParameter('classUri'));
        }

        if ($this->getRequestParameter('message')) {
            $this->setData('message', $this->getRequestParameter('message'));
        }
        if ($this->getRequestParameter('errorMessage')) {
            $this->setData('errorMessage', $this->getRequestParameter('errorMessage'));
        }

        $this->setData('client_timeout', $this->getClientTimeout());
        $this->setData('client_config_url', $this->getClientConfigUrl());
    }
protected function defaultData()
    {
        $context = Context::getInstance();

        $this->setData('extension', $context->getExtensionName());
        $this->setData('module', $context->getModuleName());
        $this->setData('action', $context->getActionName());

        if ($this->hasRequestParameter('uri')) {
            // inform the client of new classUri
            $this->setData('uri', $this->getRequestParameter('uri'));
        }

        if ($this->hasRequestParameter('classUri')) {
            // inform the client of new classUri
            $this->setData('uri', $this->getRequestParameter('classUri'));
        }

        if ($this->getRequestParameter('message')) {
            $this->setData('message', $this->getRequestParameter('message'));
        }
        if ($this->getRequestParameter('errorMessage')) {
            $this->setData('errorMessage', $this->getRequestParameter('errorMessage'));
        }

        $this->setData('client_timeout', $this->getClientTimeout());
        $this->setData('client_config_url', $this->getClientConfigUrl());
    }
protected function defaultData ( ) { $ context = Context :: getInstance ( ) ; $ this -> setData ( 'extension' , $ context -> getExtensionName ( ) ) ; $ this -> setData ( 'module' , $ context -> getModuleName ( ) ) ; $ this -> setData ( 'action' , $ context -> getActionName ( ) ) ; if ( $ this -> hasRequestParameter ( 'uri' ) ) { // inform the client of new classUri $ this -> setData ( 'uri' , $ this -> getRequestParameter ( 'uri' ) ) ; } if ( $ this -> hasRequestParameter ( 'classUri' ) ) { // inform the client of new classUri $ this -> setData ( 'uri' , $ this -> getRequestParameter ( 'classUri' ) ) ; } if ( $ this -> getRequestParameter ( 'message' ) ) { $ this -> setData ( 'message' , $ this -> getRequestParameter ( 'message' ) ) ; } if ( $ this -> getRequestParameter ( 'errorMessage' ) ) { $ this -> setData ( 'errorMessage' , $ this -> getRequestParameter ( 'errorMessage' ) ) ; } $ this -> setData ( 'client_timeout' , $ this -> getClientTimeout ( ) ) ; $ this -> setData ( 'client_config_url' , $ this -> getClientConfigUrl ( ) ) ; }
Retrieve the data from the url and make the base initialization

@return void
@throws common_ext_ExtensionException
Retrieve the data from the url and make the base initialization