function panels_renderer_editor::command_update_pane in Panels 7.3
Same name and namespace in other branches
- 6.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_renderer_editor::command_update_pane()
Create a command array to redraw a pane.
12 calls to panels_renderer_editor::command_update_pane()
- 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_access_settings in plugins/
display_renderers/ panels_renderer_editor.class.php - AJAX entry point to configure access settings for a pane.
- panels_renderer_editor::ajax_cache_method in plugins/
display_renderers/ panels_renderer_editor.class.php - AJAX entry point to configure the cache method for a pane or the display.
- 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.
1 method overrides panels_renderer_editor::command_update_pane()
- panels_renderer_ipe::command_update_pane in panels_ipe/
plugins/ display_renderers/ panels_renderer_ipe.class.php - Create a command array to redraw a pane.
File
- plugins/
display_renderers/ panels_renderer_editor.class.php, line 1492 - Class file to control the main Panels editor.
Class
- panels_renderer_editor
- @file Class file to control the main Panels editor.
Code
function command_update_pane($pid) {
if (is_object($pid)) {
$pane = $pid;
}
else {
$pane = $this->display->content[$pid];
}
$this->commands[] = ajax_command_replace("#panel-pane-{$pane->pid}", $this
->render_pane($pane));
$this->commands[] = ajax_command_changed("#panel-pane-{$pane->pid}", "div.grab-title span.text");
}