protected function processURL()
    {
        // if url has form=...
        $paramForm = isset($_GET['form']) ? $_GET['form'] : null;
        $paramCForm = isset($_GET['cform']) ? $_GET['cform'] : null;

        if (!$paramForm)
            return;

        // add the form in FormRefs
        if ($paramForm)
        {
        	if($this->isInFormRefLibs($paramForm))
	        	{
	            $xmlArr["ATTRIBUTES"]["NAME"] = $paramForm;
	            $xmlArr["ATTRIBUTES"]["SUBFORMS"] = $paramCForm ? $paramCForm : "";
	            $formRef = new FormReference($xmlArr);
	            $this->formRefs->set($paramForm, $formRef);
	            if ($paramCForm)
	            {
	            	if($this->isInFormRefLibs($paramCForm))
	            	{
		                $xmlArr["ATTRIBUTES"]["NAME"] = $paramCForm;
		                $xmlArr["ATTRIBUTES"]["SUBFORMS"] = "";
		                $cformRef = new FormReference($xmlArr);
		                $this->formRefs->set($paramCForm, $cformRef);
	            	}
	            }
        	}
        }

        // check url arg as fld:name=val
        $getKeys = array_keys($_GET);
        $paramFields = null;
        foreach ($getKeys as $key)
        {
            if (substr($key, 0, 4) == "fld:")
            {
                $fieldName = substr($key, 4);
                $fieldValue = $_GET[$key];
                $paramFields[$fieldName] = $fieldValue;
            }
        }

        if (!$paramFields)
            return;

        $paramForm = $this->prefixPackage($paramForm);
        $formObj = Openbizx::getObject($paramForm);
        $formObj->setRequestParams($paramFields);
    }
protected function processURL()
    {
        // if url has form=...
        $paramForm = isset($_GET['form']) ? $_GET['form'] : null;
        $paramCForm = isset($_GET['cform']) ? $_GET['cform'] : null;

        if (!$paramForm)
            return;

        // add the form in FormRefs
        if ($paramForm)
        {
        	if($this->isInFormRefLibs($paramForm))
	        	{
	            $xmlArr["ATTRIBUTES"]["NAME"] = $paramForm;
	            $xmlArr["ATTRIBUTES"]["SUBFORMS"] = $paramCForm ? $paramCForm : "";
	            $formRef = new FormReference($xmlArr);
	            $this->formRefs->set($paramForm, $formRef);
	            if ($paramCForm)
	            {
	            	if($this->isInFormRefLibs($paramCForm))
	            	{
		                $xmlArr["ATTRIBUTES"]["NAME"] = $paramCForm;
		                $xmlArr["ATTRIBUTES"]["SUBFORMS"] = "";
		                $cformRef = new FormReference($xmlArr);
		                $this->formRefs->set($paramCForm, $cformRef);
	            	}
	            }
        	}
        }

        // check url arg as fld:name=val
        $getKeys = array_keys($_GET);
        $paramFields = null;
        foreach ($getKeys as $key)
        {
            if (substr($key, 0, 4) == "fld:")
            {
                $fieldName = substr($key, 4);
                $fieldValue = $_GET[$key];
                $paramFields[$fieldName] = $fieldValue;
            }
        }

        if (!$paramFields)
            return;

        $paramForm = $this->prefixPackage($paramForm);
        $formObj = Openbizx::getObject($paramForm);
        $formObj->setRequestParams($paramFields);
    }
protected function processURL ( ) { // if url has form=... $ paramForm = isset ( $ _GET [ 'form' ] ) ? $ _GET [ 'form' ] : null ; $ paramCForm = isset ( $ _GET [ 'cform' ] ) ? $ _GET [ 'cform' ] : null ; if ( ! $ paramForm ) return ; // add the form in FormRefs if ( $ paramForm ) { if ( $ this -> isInFormRefLibs ( $ paramForm ) ) { $ xmlArr [ "ATTRIBUTES" ] [ "NAME" ] = $ paramForm ; $ xmlArr [ "ATTRIBUTES" ] [ "SUBFORMS" ] = $ paramCForm ? $ paramCForm : "" ; $ formRef = new FormReference ( $ xmlArr ) ; $ this -> formRefs -> set ( $ paramForm , $ formRef ) ; if ( $ paramCForm ) { if ( $ this -> isInFormRefLibs ( $ paramCForm ) ) { $ xmlArr [ "ATTRIBUTES" ] [ "NAME" ] = $ paramCForm ; $ xmlArr [ "ATTRIBUTES" ] [ "SUBFORMS" ] = "" ; $ cformRef = new FormReference ( $ xmlArr ) ; $ this -> formRefs -> set ( $ paramCForm , $ cformRef ) ; } } } } // check url arg as fld:name=val $ getKeys = array_keys ( $ _GET ) ; $ paramFields = null ; foreach ( $ getKeys as $ key ) { if ( substr ( $ key , 0 , 4 ) == "fld:" ) { $ fieldName = substr ( $ key , 4 ) ; $ fieldValue = $ _GET [ $ key ] ; $ paramFields [ $ fieldName ] = $ fieldValue ; } } if ( ! $ paramFields ) return ; $ paramForm = $ this -> prefixPackage ( $ paramForm ) ; $ formObj = Openbizx :: getObject ( $ paramForm ) ; $ formObj -> setRequestParams ( $ paramFields ) ; }
Process URL to get the form param and add the form in the FormRefs

@return void
Process URL to get the form param and add the form in the FormRefs