Prado\Web\UI\JuiControls\TJuiSelectable::getPostBackOptions PHP Метод

getPostBackOptions() защищенный Метод

protected getPostBackOptions ( ) : array
Результат array list of callback options.
    protected function getPostBackOptions()
    {
        $options = $this->getOptions()->toArray();
        // overload the "OnStop" event to add information about the current selected items
        if (isset($options['stop'])) {
            $options['stop'] = new TJavaScriptLiteral('function( event, ui ) { ui.index = new Array(); jQuery(\'#' . $this->getClientID() . ' .ui-selected\').each(function(idx, item){ ui.index.push(item.id) }); Prado.JuiCallback(' . TJavaScript::encode($this->getUniqueID()) . ', \'stop\', event, ui, this); }');
        }
        return $options;
    }