function _imagecache_action_create in ImageCache 5
1 call to _imagecache_action_create()
File
- ./
imagecache.module, line 588 - Dynamic image resizer and image cacher.
Code
function _imagecache_action_create($action) {
//debug_msg($action, 'action@create: ');
$next_id = db_next_id('{imagecache_action}_actionid');
db_query('INSERT INTO {imagecache_action} (actionid, presetid, weight, data) VALUES (%d, %d, %d, \'%s\')', $next_id, $action['presetid'], $action['weight'], serialize($action['data']));
}