コード例 #1
0
/**
 *
 * Add the context all the files needed to enable basic
 * ui.layout and can be run the widget. View settings.yml
 * @param string $type default value: null; if $type = 'CSS' Add only stylesheets
 *        if $type = 'JS' Add only javascripts files .
 */
function set_layout_configuration_files($type = null)
{
    $defaultPath['js'] = '/ysJQueryUIPlugin/js/jquery/layout';
    $defaultPath['css'] = '/ysJQueryUIPlugin/css';
    set_ui_extra_widgets_configuration_files('ui_layout', $defaultPath);
}
コード例 #2
0
/**
 *
 * Add the context all the files needed to enable basic
 * fg-menu and can be run the widget. View settings.yml
 * @param string $type default value: null; if $type = 'CSS' Add only stylesheets
 *        if $type = 'JS' Add only javascripts files .
 */
function set_ui_menu_configuration_files($type = null)
{
    $defaultPath['js'] = '/ysJQueryUIPlugin/js/jquery/fg-menu';
    $defaultPath['css'] = '/ysJQueryUIPlugin/css';
    set_ui_extra_widgets_configuration_files('ui_fg_menu', $defaultPath);
}