You are here

function panels_renderer_editor::get_url in Panels 6.3

Same name and namespace in other branches
  1. 7.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_renderer_editor::get_url()

Generate a URL path for the AJAX editor.

13 calls to panels_renderer_editor::get_url()
panels_renderer_editor::ajax_access_configure_test in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point for to configure vsibility rule.
panels_renderer_editor::ajax_add_pane in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to add a new pane.
panels_renderer_editor::ajax_cache_settings in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to configure the cache settings for a pane or the display.
panels_renderer_editor::ajax_edit_pane in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to edit a pane.
panels_renderer_editor::ajax_style_settings in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to configure the style for a display, region or pane.

... See full list

File

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

Class

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

Code

function get_url() {
  $args = func_get_args();
  $command = array_shift($args);
  $url = 'panels/ajax/' . $this->plugin['name'] . '/' . $command . '/' . $this->display->cache_key;
  if ($args) {
    $url .= '/' . implode('/', $args);
  }
  return $url;
}