src/Leaves/SearchPanel.php
public function getSearchControlValues()
    {
        $data = $this->model->searchValues;
        $controlData = [];

        foreach ($this->model->searchControls as $control) {
            $controlName = $control->getName();

            if (isset($data[$controlName])) {
                $controlData[$controlName] = $data[$controlName];
            }
        }

        return $controlData;
    }
public function getSearchControlValues()
    {
        $data = $this->model->searchValues;
        $controlData = [];

        foreach ($this->model->searchControls as $control) {
            $controlName = $control->getName();

            if (isset($data[$controlName])) {
                $controlData[$controlName] = $data[$controlName];
            }
        }

        return $controlData;
    }
public function getSearchControlValues ( ) { $ data = $ this -> model -> searchValues ; $ controlData = [ ] ; foreach ( $ this -> model -> searchControls as $ control ) { $ controlName = $ control -> getName ( ) ; if ( isset ( $ data [ $ controlName ] ) ) { $ controlData [ $ controlName ] = $ data [ $ controlName ] ; } } return $ controlData ; }
Returns a key value pair array of each control name and it's value

@return string[]
Returns a key value pair array of each control name and it s value