function quicktabs_createblock in Quick Tabs 6
Same name and namespace in other branches
- 5 quicktabs.module \quicktabs_createblock()
1 call to quicktabs_createblock()
File
- ./
quicktabs.module, line 489
Code
function quicktabs_createblock($fullcontent) {
$qtid = db_last_insert_id('quicktabs', 'qtid');
$title = $fullcontent['blocktitle'];
$tabs = serialize($fullcontent['blockcontent']);
db_query("INSERT INTO {quicktabs} (qtid, title, tabs) VALUES(%d, '%s', '%s')", $qtid, $title, $tabs);
return;
}