1: <?php
2: /**
3: * Extension of Horde's variable renderer that support Ingo's folders variable
4: * type.
5: *
6: * Copyright 2006-2012 Horde LLC (http://www.horde.org/)
7: *
8: * See the enclosed file LICENSE for license information (ASL). If you
9: * did not receive this file, see http://www.horde.org/licenses/apache.
10: *
11: * @author Jan Schneider <jan@horde.org>
12: * @package Ingo
13: */
14: class Horde_Core_Ui_VarRenderer_Ingo extends Horde_Core_Ui_VarRenderer_Html
15: {
16: protected function _renderVarInput_ingo_folders(&$form, &$var, &$vars)
17: {
18: return Ingo::flistSelect($var->type->getFolder(), 'horde_form', 'folder');
19: }
20: }
21: