1 <?php
2
3 /*
4 * This file is part of the Icybee 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\Modules\Forms;
13
14 use Brickrouge\Element;
15
16 /**
17 * "Form" editor element.
18 */
19 class FormEditorElement extends PopForm implements \Icybee\Modules\Editor\EditorElement
20 {
21 protected $selector;
22
23 public function __construct(array $attributes=array())
24 {
25 parent::__construct
26 (
27 'select', array
28 (
29 Element::DESCRIPTION => 'Sélectionner le formulaire à afficher.'
30 )
31
32 + $attributes
33 );
34 }
35 }