public function get_object(Box_App $app, $what) { $api = $app->getApiGuest(); $tpl = 'mod_embed_' . $what; return $app->render($tpl); }
public function get_index(Box_App $app) { $api = $app->getApiGuest(); return $app->render('mod_example_index'); }