| 7 file_test.module | file_test_get_calls($op) |
| 8 file_test.module | file_test_get_calls($op) |
Get the arguments passed to invocation of a given hook since file_test_reset() was last called.
Parameters
$op: One of the hook_file_* operations: 'load', 'validate', 'download', 'insert', 'update', 'copy', 'move', 'delete'.
Return value
Array of the parameters passed to each call.
See also
1 call to file_test_get_calls()
File
- modules/
simpletest/ tests/ file_test.module, line 180 - Helper module for the file tests.
Code
function file_test_get_calls($op) {
$results = variable_get('file_test_results', array());
return $results[$op];
}
Login or register to post comments