function _textimage_preset_create in Textimage 6.2
Same name and namespace in other branches
- 5.2 textimage_admin.inc \_textimage_preset_create()
- 5 textimage.module \_textimage_preset_create()
- 7.2 textimage.admin.inc \_textimage_preset_create()
create a preset
Parameters
name: name of the preset to be created.
1 call to _textimage_preset_create()
File
- ./
textimage_admin.inc, line 662
Code
function _textimage_preset_create($name, $description, $settings) {
return db_query("INSERT INTO {textimage_preset} (name, description, settings) VALUES ('%s', '%s', '%s')", $name, $description, serialize($settings));
}