public function setRequestParams($paramFields)
    {
        if ($paramFields) {
            $this->fixSearchRule = null; // reset fixsearchrule to clean the previous one in session
            foreach ($paramFields as $fieldName => $val) {
                $element = $this->dataPanel->getByField($fieldName);
                if ($element->allowURLParam == 'Y') {
                    if (!$this->getDataObj()) {
                        return;
                    }
                    if ($this->getDataObj()->getField($fieldName)) {
                        if ($this->getDataObj()->getField($fieldName)->checkValueType($val)) {
                            //echo __METHOD__.__LINE__.'<br />';
                            $this->setFixSearchRule("[$fieldName]='$val'");
                        }
                    }
                }
            }
        }
    }
public function setRequestParams($paramFields)
    {
        if ($paramFields) {
            $this->fixSearchRule = null; // reset fixsearchrule to clean the previous one in session
            foreach ($paramFields as $fieldName => $val) {
                $element = $this->dataPanel->getByField($fieldName);
                if ($element->allowURLParam == 'Y') {
                    if (!$this->getDataObj()) {
                        return;
                    }
                    if ($this->getDataObj()->getField($fieldName)) {
                        if ($this->getDataObj()->getField($fieldName)->checkValueType($val)) {
                            //echo __METHOD__.__LINE__.'<br />';
                            $this->setFixSearchRule("[$fieldName]='$val'");
                        }
                    }
                }
            }
        }
    }
public function setRequestParams ( $ paramFields ) { if ( $ paramFields ) { $ this -> fixSearchRule = null ; // reset fixsearchrule to clean the previous one in session foreach ( $ paramFields as $ fieldName => $ val ) { $ element = $ this -> dataPanel -> getByField ( $ fieldName ) ; if ( $ element -> allowURLParam == 'Y' ) { if ( ! $ this -> getDataObj ( ) ) { return ; } if ( $ this -> getDataObj ( ) -> getField ( $ fieldName ) ) { if ( $ this -> getDataObj ( ) -> getField ( $ fieldName ) -> checkValueType ( $ val ) ) { //echo __METHOD__.__LINE__.'<br />'; $ this -> setFixSearchRule ( "[$fieldName]='$val'" ) ; } } } } } }
Set request parameters

@param array $paramFields
@return void
Set request parameters