當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。