You are here

function panels_renderer_editor::get_panels_storage_op_for_ajax in Panels 7.3

Get the Panels storage oparation for a given renderer AJAX method.

Parameters

string $method: The method name.

Return value

string The Panels storage op.

Overrides panels_renderer_standard::get_panels_storage_op_for_ajax

1 call to panels_renderer_editor::get_panels_storage_op_for_ajax()
panels_renderer_ipe::get_panels_storage_op_for_ajax in panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
Get the Panels storage oparation for a given renderer AJAX method.
1 method overrides panels_renderer_editor::get_panels_storage_op_for_ajax()
panels_renderer_ipe::get_panels_storage_op_for_ajax in panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
Get the Panels storage oparation for a given renderer AJAX method.

File

plugins/display_renderers/panels_renderer_editor.class.php, line 527
Class file to control the main Panels editor.

Class

panels_renderer_editor
@file Class file to control the main Panels editor.

Code

function get_panels_storage_op_for_ajax($method) {
  switch ($method) {
    case 'ajax_show':
    case 'ajax_hide':
    case 'ajax_select_content':
    case 'ajax_add_pane':
    case 'ajax_edit_pane':
    case 'ajax_panel_title':
    case 'ajax_cache_method':
    case 'ajax_cache_settings':
    case 'ajax_style_type':
    case 'ajax_style_settings':
    case 'ajax_pane_css':
    case 'ajax_lock':
    case 'ajax_access_settings':
    case 'ajax_access_add_test':
    case 'ajax_access_configure_test':
    case 'ajax_layout':
    case 'ajax_style':
      return 'update';
  }
  return parent::get_panels_storage_op_for_ajax($method);
}