/** * Activate a content part of the Accordion programmatically. * @param string $selector jQuery Selector */ function ui_accordion_activate($selector, $index) { return add_method_support('accordion', $selector, 'activate', $index); }
/** * Gets or sets the values of the slider. For multiple handle or range sliders * @param string $selector jQuery Selector * @param integer $value value of range sliders. */ function ui_slider_values($selector, $index, $value) { if (is_array($value)) { $value = json_encode($value); } return add_method_support('slider', $selector, 'values', $index . ',' . $value); }
/** * Disable the selectable. * @param string $selector jQuery Selector */ function ui_selectable_disable($selector) { return add_method_support('selectable', $selector, 'disable'); }
/** * This method sets the current value of the progressbar * @param string $selector jQuery Selector * @param integer $value progressbar value */ function ui_progressbar_set_value($selector, $value) { return add_method_support('progressbar', $selector, 'value', $value); }
/** * Cancels a change in the current sortable and reverts it back to how it was * before the current sort started. * Useful in the stop and receive callback functions * @param string $selector jQuery Selector */ function ui_sortable_cancel($selector) { return add_method_support('sortable', $selector, 'cancel'); }
/** * Change the url from which an Ajax (remote) tab will be loaded * @param string $selector jQuery Selector * @param string $index The zero-based index of the tab of which its URL is to * be updated * @param <type> $new_url The URL the content of the tab is loaded from * @return <type> */ function ui_tabs_url($selector, $index, $new_url) { $params = sprintf("'%s','%s'", $index, $new_url); return add_method_support('tabs', $selector, 'url', $params); }
/** * Move the dialog to the top of the dialogs stack. * @param string $selector jQuery Selector */ function ui_dialog_move_to_top($selector) { return add_method_support('dialog', $selector, 'moveToTop'); }