src/View/Helper/SearchHelper.php
public function input(BaseParameter $param, $options = [])
    {
        $input = $this->_defaultInput($param);
        $this->_setValue($input, $param);
        $this->_setOptions($input, $param);
        $this->_applyAutocompleteOptions($input, $param);
        $input = Hash::merge($input, $options);

        return $input;
    }
public function input(BaseParameter $param, $options = [])
    {
        $input = $this->_defaultInput($param);
        $this->_setValue($input, $param);
        $this->_setOptions($input, $param);
        $this->_applyAutocompleteOptions($input, $param);
        $input = Hash::merge($input, $options);

        return $input;
    }
public function input ( BaseParameter $ param , $ options = [ ] ) { $ input = $ this -> _defaultInput ( $ param ) ; $ this -> _setValue ( $ input , $ param ) ; $ this -> _setOptions ( $ input , $ param ) ; $ this -> _applyAutocompleteOptions ( $ input , $ param ) ; $ input = Hash :: merge ( $ input , $ options ) ; return $ input ; }
Generates input for parameter

@param BaseParameter $param Form parameter.
@param array $options Additional input options.
@return array
Generates input for parameter