[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/views/includes/ -> ajax.inc (summary)

(no description)

File Size: 186 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  views_ajax()
  views_ajax_render()
  views_ajax_form_wrapper()
  views_ajax_autocomplete_user()

Functions
Functions that are not part of a class:

views_ajax()   X-Ref
Menu callback to load a view via AJAX.


views_ajax_render($output = NULL, $title = NULL, $url = NULL, $js = NULL)   X-Ref
Simple render function to make sure output is what we want.

This function renders an object into JSON, and that object contains
commands to the ajax response parser on the other side. The actual
commands that can be sent are completely dependent upon the client
javascript parser, which can be anything, but this function assumes
that 'display', at least, will be displayed in some kind of ajax
spot or popup.

views_ajax_form_wrapper($form_id, &$form_state)   X-Ref
Wrapper around drupal_build_form to handle some AJAX stuff automatically.
This makes some assumptions about the client.


views_ajax_autocomplete_user($string = '')   X-Ref
Page callback for views user autocomplete




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7