function actionOpen($menu_item) { global $my_app; $explorerAPI = new phpos_explorerAPI(); $explorerAPI->set_allowed_extensions($my_app->get_param('allowed_extensions')); $j = $explorerAPI->openfile_dialog(); return $j; }