function db_persist($params, $node) { // delegate to 'db_persist_form' tag return KDataBoundForm::db_persist_form($params, $node); }
function db_persist_ex($params, $node) { if (count($node->children)) { die("ERROR: Tag \"" . $node->name . "\" is a self closing tag"); } // delegate to 'db_persist_form' tag $node->name = 'db_persist'; return KDataBoundForm::db_persist_form($params, $node); }