function _image_test_log_call
Store the values passed to a toolkit call.
Parameters
$op: One of the image toolkit operations: 'get_info', 'load', 'save', 'settings', 'resize', 'rotate', 'crop', 'desaturate'.
$args: Values passed to hook.
See also
8 calls to _image_test_log_call()
- image_test_crop in modules/
simpletest/ tests/ image_test.module - Image tookit's crop operation.
- image_test_desaturate in modules/
simpletest/ tests/ image_test.module - Image tookit's desaturate operation.
- image_test_get_info in modules/
simpletest/ tests/ image_test.module - Image toolkit's get_info operation.
- image_test_load in modules/
simpletest/ tests/ image_test.module - Image tookit's load operation.
- image_test_resize in modules/
simpletest/ tests/ image_test.module - Image tookit's resize operation.
File
-
modules/
simpletest/ tests/ image_test.module, line 68
Code
function _image_test_log_call($op, $args) {
$results = variable_get('image_test_results', array());
$results[$op][] = $args;
variable_set('image_test_results', $results);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.