Functions | |
| views_ajax () | |
| views_ajax_render ($output=NULL, $title=NULL, $url=NULL, $js=NULL) | |
| views_ajax_form_wrapper ($form_id, &$form_state) | |
| views_ajax_autocomplete_user ($string= '') | |
| views_ajax | ( | ) |
Menu callback to load a view via AJAX.
| views_ajax_autocomplete_user | ( | $ | string = '' |
) |
Page callback for views user autocomplete
| views_ajax_form_wrapper | ( | $ | form_id, | |
| &$ | form_state | |||
| ) |
Wrapper around drupal_build_form to handle some AJAX stuff automatically. This makes some assumptions about the client.
| views_ajax_render | ( | $ | output = NULL, |
|
| $ | title = NULL, |
|||
| $ | url = NULL, |
|||
| $ | js = NULL | |||
| ) |
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.