1 <?php
2
3 /*
4 * This file is part of the Icybee/Installer package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Icybee\Installer;
13
14 use Brickrouge\Element;
15
16 class LanguageElement extends Element
17 {
18 public function __construct(array $attributes=array())
19 {
20 parent::__construct
21 (
22 'select', $attributes + array
23 (
24 Element::OPTIONS => array
25 (
26 null => '',
27 'en' => 'English',
28 'fr' => 'French'
29 ),
30
31 Element::INLINE_HELP => t('language.description')
32 )
33 );
34 }
35 }