| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 454 lines (17 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| blockcache_alter_menu() X-Ref |
| Implementation of hook_menu(). |
| blockcache_alter_admin_settings() X-Ref |
| Menu callback, settings page for blockcache alter |
| blockcache_alter_form_alter(&$form, $form_state, $form_id) X-Ref |
| Implementation of hook_form_alter(). |
| blockcache_alter_save_settings($form, &$form_state) X-Ref |
| Submit callback. Saves block configuration and cache settings per block. This module takes over from block_admin_configure_submit() so we can decide what to clear from cache. |
| _blockcache_alter_core_patch() X-Ref |
| Helper function to check if a blockcache alter patch is found. Note: it doesn't check which patch is applied. |
| _blockcache_alter_check_expire($cache, $time) X-Ref |
| Helper function to check if this block should be refreshed or not. param: stdClass $cache A complete cache object. param: int $time The current timestamp. return: FALSE or TRUE |
| blockcache_alter_nodeapi($node, $op) X-Ref |
| Implementation of hook_nodeapi(). |
| blockcache_alter_comment($comment, $op) X-Ref |
| Implementation of hook_comment(). |
| blockcache_alter_user($op) X-Ref |
| Implementation of hook_user(). |
| _blockcache_alter_cleanup($type, $relatednodetype = FALSE) X-Ref |
| Cleanup cached blocks if necessary. param: string $type operation type. param: string $relatednodetype Related node type (if available) |
| blockcache_alter_block($op, $delta = 0, $edit = array() X-Ref |
| Implementation of hook_block(). Functions underneath will only be called when someone programmaticaly calls a block in code with module_invoke, eg: $block = module_invoke('blockcache_alter', 'block', 'view', 'block,14'); print $block['content']; The last parameter should consist of the name of original block and its original delta seperated by comma. All blocks can be cached this way. |
| blockcache_alter_block_view($delta) X-Ref |
| View a cached block using hook_block(). If the block is not cached or the cache is stale, get the info and stick it back into the cache. |
| _blockcache_alter_get_cache_id($module, $delta) X-Ref |
| Get cid for a block. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |