Horde_Core_Ajax_Imple_AutoCompleter_Ajax::_getOpts PHP Method

_getOpts() protected method

Return the encode list of options.
protected _getOpts ( Horde_Core_Ajax_Imple_AutoCompleter $ac ) : array
$ac Horde_Core_Ajax_Imple_AutoCompleter
return array Options list.
    protected function _getOpts(Horde_Core_Ajax_Imple_AutoCompleter $ac)
    {
        $opts = array();
        if (!isset($this->params['indicator'])) {
            $this->params['indicator'] = $ac->getDomId() . '_loading_img';
        }
        foreach ($this->params as $key => $val) {
            $opts[] = $key . ':' . (in_array($key, $this->_raw) ? $val : Horde_Serialize::serialize($val, Horde_Serialize::JSON));
        }
        return $opts;
    }
Horde_Core_Ajax_Imple_AutoCompleter_Ajax