function lazy_pane_is_lazy_request in Lazy Pane 7
Checks if the current request has been originated from a lazy request.
Parameters
bool $status: Sets the request status. Do not modify.
Return value
bool TRUE if the request has been originated from a lazy request, FALSE otherwise.
3 calls to lazy_pane_is_lazy_request()
- lazy_pane_ajax in ./
lazy_pane.inc - Menu callback to load a lazy-pane through ajax.
- lazy_pane_form_alter in ./
lazy_pane.module - Implements hook_form_alter().
- lazy_pane_lazy_cache_get in plugins/
cache/ lazy.inc - A mock cache retrieval function that prevents the pane from rendering and stores its data, for later, on demand rendering.
File
- ./
lazy_pane.module, line 64 - Main file for lazy_pane module.
Code
function lazy_pane_is_lazy_request($status = NULL) {
$lazy_request =& drupal_static(__FUNCTION__, FALSE);
if (!empty($status) && is_bool($status)) {
$lazy_request = $status;
}
return $lazy_request;
}