当前位置: 首页>>代码示例>>PHP>>正文


PHP cms_module_common_selector::get_form方法代码示例

本文整理汇总了PHP中cms_module_common_selector::get_form方法的典型用法代码示例。如果您正苦于以下问题:PHP cms_module_common_selector::get_form方法的具体用法?PHP cms_module_common_selector::get_form怎么用?PHP cms_module_common_selector::get_form使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在cms_module_common_selector的用法示例。


在下文中一共展示了cms_module_common_selector::get_form方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_form

 public function get_form()
 {
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_bannette_id_bannette'>" . $this->format_text($this->msg['cms_module_common_selector_bannette_id_bannette']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     $form .= $this->gen_select();
     $form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:8,代码来源:cms_module_common_selector_bannette.class.php

示例2: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form .= "\n\t\t\t<div class='row'>";
     $form .= $this->gen_select();
     $form .= "\n\t\t\t</div>";
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:8,代码来源:cms_module_common_selector_section_type.class.php

示例3: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='" . $this->get_form_value_name("opacitem") . "'>" . $this->format_text($this->msg['cms_module_opacitem_selector_opacitem_choose']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     $form .= $this->gen_select();
     $form .= "</div>\n\t\t\t</div>";
     $form .= "<div id='" . $this->get_form_value_name("globals") . "'></div>";
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:9,代码来源:cms_module_opacitem_selector_opacitem.class.php

示例4: get_form

 public function get_form()
 {
     if (!$this->parameters) {
         $this->parameters = array();
     }
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_view_id_view']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     $form .= $this->gen_select();
     $form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:11,代码来源:cms_module_common_selector_view.class.php

示例5: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form .= "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_type_editorial_label']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     $form .= $this->gen_select();
     $form .= "\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id='type_editorial_fields'>\n\t\t\t\t<div class='row'>\n\t\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_type_editorial_fields_label']) . "</label>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='colonne-suite'> \n\t\t\t\t\t\t<select name='" . $this->get_form_value_name("select_field") . "' >";
     $fields = new cms_editorial_parametres_perso($this->parameters["type_editorial"]);
     $form .= $fields->get_selector_options($this->parameters["type_editorial_field"]);
     $form .= "\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>";
     return $form;
 }
开发者ID:bouchra012,项目名称:PMB,代码行数:11,代码来源:cms_module_common_selector_type_editorial.class.php

示例6: 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[] = $this->cms_build_env['get']['pageid'];
         }
     }
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_page_id_page']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     $form .= $this->gen_select();
     $form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:14,代码来源:cms_module_common_selector_page.class.php

示例7: get_form

 public function get_form()
 {
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_env_var'>" . $this->format_text($this->msg['cms_module_common_selector_env_var']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
     if (is_array($this->cms_build_env['page'])) {
         $form .= "\n\t\t\t\t\t<select name='" . $this->get_form_value_name("env_var") . "'>";
         foreach ($this->cms_build_env['page'] as $var) {
             $form .= "\n\t\t\t\t\t\t<option value='" . $var['name'] . "' " . ($var['name'] == $this->parameters ? "selected='selected'" : "") . ">" . $this->format_text($var['comment'] != "" ? $var['comment'] : $var['name']) . "</option>";
         }
         $form .= "\n\t\t\t\t\t</select>";
     } else {
         $form .= $this->format_text($this->msg['cms_module_common_selector_env_var_no_vars']);
     }
     $form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:16,代码来源:cms_module_common_selector_env_var.class.php

示例8: 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...
     switch ($this->cms_build_env['input']) {
         case "empr.php":
             if (!$this->id) {
                 $this->parameters[] = "empr";
             }
             break;
         case "askmdp.php":
             if (!$this->id) {
                 $this->parameters[] = "askmdp";
             }
             break;
         case "subscribe.php":
             if (!$this->id) {
                 $this->parameters[] = "subscribe";
             }
             break;
         default:
             if ($this->cms_build_env['search_type_asked']) {
                 if (!$this->id) {
                     $this->parameters[] = $this->cms_build_env['search_type_asked'];
                 }
             } else {
                 if ($this->cms_build_env['lvl']) {
                     if (!$this->id) {
                         $this->parameters[] = $this->cms_build_env['lvl'];
                     }
                 }
             }
             break;
     }
     if (!$this->parameters) {
         $this->parameters = array();
     }
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_lvl'>" . $this->format_text($this->msg['cms_module_common_selector_lvl']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<select name='" . $this->get_form_value_name("lvl") . "[]' multiple='yes'>";
     foreach ($this->lvl as $lvl) {
         $form .= "\n\t\t\t\t\t\t<option value='" . $lvl . "' " . (in_array($lvl, $this->parameters) ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_lvl_' . $lvl]) . "</option>";
     }
     $form .= "\t\t\t\t\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:bouchra012,项目名称:PMB,代码行数:44,代码来源:cms_module_common_selector_lvl.class.php

示例9: get_form

 public function get_form()
 {
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='" . $this->get_form_value_name("val_choice") . "'>" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_val_choice']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<select name='" . $this->get_form_value_name("val_choice") . "' onchange='cms_" . $this->get_form_value_name("get_values") . "(this.value)'>\n\t\t\t\t\t\t<option value='0'>" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_val']) . "</option>\n\t\t\t\t\t\t<option value='statut' " . ($this->parameters['val_choice'] == "statut" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_statut']) . "</option>\n\t\t\t\t\t\t<option value='categ'" . ($this->parameters['val_choice'] == "categ" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_categ']) . "</option>\n\t\t\t\t\t\t<option value='codestat'" . ($this->parameters['val_choice'] == "codestat" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_codestat']) . "</option>\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:6,代码来源:cms_module_common_selector_empr_infos.class.php

示例10: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form .= "\n\t\t\t<div class='row'>\n\t\t\t\t<label for='cms_module_common_selector_section_type_from'>" . $this->format_text($this->msg['cms_module_common_selector_section_type_from']) . "</label>\n\t\t\t</div>";
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:6,代码来源:cms_module_common_selector_section_type_from.class.php

示例11: get_form

 public function get_form()
 {
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_authentificated_authentificated'>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_authentificated']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<span>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_yes']) . "&nbsp;<input type='radio' " . ($this->parameters ? "checked='checked'" : "") . " name='" . $this->get_form_value_name("authentificated") . "' value='1'/></span>&nbsp;\n\t\t\t\t\t<span>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_no']) . "&nbsp;<input type='radio' " . ($this->parameters ? "" : "checked='checked'") . " name='" . $this->get_form_value_name("authentificated") . "' value='0'/></span>\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:6,代码来源:cms_module_common_selector_authentificated.class.php

示例12: get_form

 public function get_form()
 {
     $form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_rss_url']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<input type='text' name='" . $this->get_form_value_name("url") . "' value='" . $this->addslashes($this->format_text($this->parameters)) . "'/>\n\t\t\t\t</div>\n\t\t\t</div>";
     $form .= parent::get_form();
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:6,代码来源:cms_module_common_selector_rss.class.php

示例13: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form .= "\t\t\t\n\t\t\t<div id='type_editorial_fields'>\n\t\t\t\t<div class='row'>\n\t\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_section_generic_type_select']) . "</label>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='colonne-suite'> \n\t\t\t\t\t" . $this->gen_select() . "\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>";
     return $form;
 }
开发者ID:hogsim,项目名称:PMB,代码行数:6,代码来源:cms_module_common_selector_type_section_generic.class.php

示例14: get_form

 public function get_form()
 {
     $form = parent::get_form();
     $form .= "\r\n\t\t<div class='row'>\r\n\t\t\t<div class='colonne3'>\r\n\t\t\t\t<label for='" . $this->get_form_value_name("server_url") . "'>" . $this->format_text($this->msg['cms_module_sparql_datasource_server_url']) . "</label>\r\n\t\t\t</div>\r\n\t\t\t<div class='colonne-suite'>\r\n\t\t\t\t<input type='text' name='" . $this->get_form_value_name("server_url") . "' value='" . $this->format_text($this->parameters['server_url']) . "' />\r\n\t\t\t</div>\r\n\t\t</div>";
     return $form;
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:6,代码来源:cms_module_sparql_selector_endpoint.class.php


注:本文中的cms_module_common_selector::get_form方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。