$newTemplate = vB_Template::create('someTemplate'); $newTemplate->register('variable1', $somearray); $newTemplate->register('variable2', $variabletwo);$newTemplate->render();