| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 370 lines (17 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BlockCacheAlter:: (10 methods):
getInfo()
setUp()
_debugHelper()
_createTestBlock()
_checkBlockSetting()
_getRecordFromCacheBlockTable()
_returnBlockCacheOptions()
testSimpleCacheChanges()
testSimpleCacheRefreshments()
testPatchedBlockModule()
Class: BlockCacheAlter - X-Ref
| getInfo() X-Ref |
| Implementation of getInfo(). |
| setUp() X-Ref |
| Implementation of setUp(). |
| _debugHelper($value, $writetype = 'a+') X-Ref |
| Debug helper function. Writes values away to a text file in the files directory. |
| _createTestBlock() X-Ref |
| Helper function to create a test block. return: array $block All properties of testblock. |
| _checkBlockSetting($delta, $field = 'cache') X-Ref |
| Helper function to check a setting of a block directly from database. param: int $delta The delta of the block. param: string $field The name of the field to retrieve. return: int $cache The setting of the cache. |
| _getRecordFromCacheBlockTable($delta) X-Ref |
| Helper function to get a record from cache_block table. param: int $delta The delta of the block. return: stdClass $cache A complete cache object. |
| _returnBlockCacheOptions() X-Ref |
| Helper function to return all block cache options. return: array $block_cache_options. |
| testSimpleCacheChanges() X-Ref |
| Test simple cache changes. |
| testSimpleCacheRefreshments() X-Ref |
| Test simple cache changes with clear cache option (only block or page). |
| testPatchedBlockModule() X-Ref |
| Extra tests when the block module is patched. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |