protected function prepareOptions($name)
    {
        return [
            'addc' => $this->additionalCode,
            'dely' => $this->prepareOptionDelay(),
            'ercl' => $this->prepareOption('errorClass'),
            'erst' => $this->prepareOption('errorStyle'),
            'hecl' => $this->prepareOption('headerClass'),
            'hest' => $this->prepareOption('headerStyle'),
            'jsev' => $this->prepareOptionBool('jsEventsCallback'),
            'keyt' => $this->prepareOptionBool('keyTrigger'),
            'loca' => $this->prepareOptionLocal(),
            'locl' => $this->prepareOption('loadingClass'),
            'lost' => $this->prepareOption('loadingStyle'),
            'mabe' => $this->prepareOption('markBegin'),
            'maen' => $this->prepareOption('markEnd'),
            'minq' => $this->prepareOptionMinQuery(),
            'name' => $name,
            'nebe' => $this->prepareOption('nextBegin'),
            'necl' => $this->prepareOption('nextClass'),
            'neen' => $this->prepareOption('nextEnd'),
            'nest' => $this->prepareOption('nextStyle'),
            'nrcl' => $this->prepareOption('noRecordsClass'),
            'nrst' => $this->prepareOption('noRecordsStyle'),
            'onrm' => $this->onRemove,
            'onsl' => $this->onSelect,
            'pabe' => $this->prepareOption('pagerBegin'),
            'paen' => $this->prepareOption('pagerEnd'),
            'prbe' => $this->prepareOption('previousBegin'),
            'prcl' => $this->prepareOption('previousClass'),
            'pren' => $this->prepareOption('previousEnd'),
            'prst' => $this->prepareOption('previousStyle'),
            'prba' => $this->prepareOptionProgressBar(),
            'recl' => $this->prepareOption('recordClass'),
            'rest' => $this->prepareOption('recordStyle'),
            'rmcl' => $this->prepareOption('removeClass'),
            'rmla' => $this->prepareOption('removeLabel'),
            'rmst' => $this->prepareOption('removeStyle'),
            'rscl' => $this->prepareOption('resultClass'),
            'rsst' => $this->prepareOption('resultStyle'),
            'smbt' => $this->prepareOptionBool('singleModeBottom'),
            'smod' => $this->prepareOptionBool('singleMode'),
            'swcl' => $this->prepareOption('switchClass'),
            'swst' => $this->prepareOption('switchStyle'),
            'url'  => $this->source,
        ];
    }
protected function prepareOptions($name)
    {
        return [
            'addc' => $this->additionalCode,
            'dely' => $this->prepareOptionDelay(),
            'ercl' => $this->prepareOption('errorClass'),
            'erst' => $this->prepareOption('errorStyle'),
            'hecl' => $this->prepareOption('headerClass'),
            'hest' => $this->prepareOption('headerStyle'),
            'jsev' => $this->prepareOptionBool('jsEventsCallback'),
            'keyt' => $this->prepareOptionBool('keyTrigger'),
            'loca' => $this->prepareOptionLocal(),
            'locl' => $this->prepareOption('loadingClass'),
            'lost' => $this->prepareOption('loadingStyle'),
            'mabe' => $this->prepareOption('markBegin'),
            'maen' => $this->prepareOption('markEnd'),
            'minq' => $this->prepareOptionMinQuery(),
            'name' => $name,
            'nebe' => $this->prepareOption('nextBegin'),
            'necl' => $this->prepareOption('nextClass'),
            'neen' => $this->prepareOption('nextEnd'),
            'nest' => $this->prepareOption('nextStyle'),
            'nrcl' => $this->prepareOption('noRecordsClass'),
            'nrst' => $this->prepareOption('noRecordsStyle'),
            'onrm' => $this->onRemove,
            'onsl' => $this->onSelect,
            'pabe' => $this->prepareOption('pagerBegin'),
            'paen' => $this->prepareOption('pagerEnd'),
            'prbe' => $this->prepareOption('previousBegin'),
            'prcl' => $this->prepareOption('previousClass'),
            'pren' => $this->prepareOption('previousEnd'),
            'prst' => $this->prepareOption('previousStyle'),
            'prba' => $this->prepareOptionProgressBar(),
            'recl' => $this->prepareOption('recordClass'),
            'rest' => $this->prepareOption('recordStyle'),
            'rmcl' => $this->prepareOption('removeClass'),
            'rmla' => $this->prepareOption('removeLabel'),
            'rmst' => $this->prepareOption('removeStyle'),
            'rscl' => $this->prepareOption('resultClass'),
            'rsst' => $this->prepareOption('resultStyle'),
            'smbt' => $this->prepareOptionBool('singleModeBottom'),
            'smod' => $this->prepareOptionBool('singleMode'),
            'swcl' => $this->prepareOption('switchClass'),
            'swst' => $this->prepareOption('switchStyle'),
            'url'  => $this->source,
        ];
    }
protected function prepareOptions ( $ name ) { return [ 'addc' => $ this -> additionalCode , 'dely' => $ this -> prepareOptionDelay ( ) , 'ercl' => $ this -> prepareOption ( 'errorClass' ) , 'erst' => $ this -> prepareOption ( 'errorStyle' ) , 'hecl' => $ this -> prepareOption ( 'headerClass' ) , 'hest' => $ this -> prepareOption ( 'headerStyle' ) , 'jsev' => $ this -> prepareOptionBool ( 'jsEventsCallback' ) , 'keyt' => $ this -> prepareOptionBool ( 'keyTrigger' ) , 'loca' => $ this -> prepareOptionLocal ( ) , 'locl' => $ this -> prepareOption ( 'loadingClass' ) , 'lost' => $ this -> prepareOption ( 'loadingStyle' ) , 'mabe' => $ this -> prepareOption ( 'markBegin' ) , 'maen' => $ this -> prepareOption ( 'markEnd' ) , 'minq' => $ this -> prepareOptionMinQuery ( ) , 'name' => $ name , 'nebe' => $ this -> prepareOption ( 'nextBegin' ) , 'necl' => $ this -> prepareOption ( 'nextClass' ) , 'neen' => $ this -> prepareOption ( 'nextEnd' ) , 'nest' => $ this -> prepareOption ( 'nextStyle' ) , 'nrcl' => $ this -> prepareOption ( 'noRecordsClass' ) , 'nrst' => $ this -> prepareOption ( 'noRecordsStyle' ) , 'onrm' => $ this -> onRemove , 'onsl' => $ this -> onSelect , 'pabe' => $ this -> prepareOption ( 'pagerBegin' ) , 'paen' => $ this -> prepareOption ( 'pagerEnd' ) , 'prbe' => $ this -> prepareOption ( 'previousBegin' ) , 'prcl' => $ this -> prepareOption ( 'previousClass' ) , 'pren' => $ this -> prepareOption ( 'previousEnd' ) , 'prst' => $ this -> prepareOption ( 'previousStyle' ) , 'prba' => $ this -> prepareOptionProgressBar ( ) , 'recl' => $ this -> prepareOption ( 'recordClass' ) , 'rest' => $ this -> prepareOption ( 'recordStyle' ) , 'rmcl' => $ this -> prepareOption ( 'removeClass' ) , 'rmla' => $ this -> prepareOption ( 'removeLabel' ) , 'rmst' => $ this -> prepareOption ( 'removeStyle' ) , 'rscl' => $ this -> prepareOption ( 'resultClass' ) , 'rsst' => $ this -> prepareOption ( 'resultStyle' ) , 'smbt' => $ this -> prepareOptionBool ( 'singleModeBottom' ) , 'smod' => $ this -> prepareOptionBool ( 'singleMode' ) , 'swcl' => $ this -> prepareOption ( 'switchClass' ) , 'swst' => $ this -> prepareOption ( 'switchStyle' ) , 'url' => $ this -> source , ] ; }
Sets JS options.
@param string $name Name of the widget
@return array
Sets JS options .