public function get_form()
 {
     //si on est sur une page de type Page en création de cadre, on propose la condition pré-remplie...
     if ($this->cms_build_env['lvl'] || $this->cms_build_env['search_type_asked'] || $this->cms_build_env['input'] == "empr.php" || $this->cms_build_env['input'] == "askmdp.php" || $this->cms_build_env['input'] == "subscribe.php") {
         if (!$this->id) {
             $this->parameters['selectors'][] = array('id' => 0, 'name' => "cms_module_common_selector_lvl");
         }
     }
     return parent::get_form();
 }
 public function get_form()
 {
     //si on est sur une page de type Page en création de cadre, on propose la condition pré-remplie...
     if ($this->cms_build_env['lvl'] == "cmspage") {
         if (!$this->id) {
             $this->parameters['selectors'][] = array('id' => 0, 'name' => "cms_module_common_selector_page");
         }
     }
     return parent::get_form();
 }
 public function __construct($id = 0)
 {
     parent::__construct($id);
 }
 public function save_form()
 {
     $this->parameters['value'] = $this->get_value_from_form("value");
     return parent::save_form();
 }