Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16389 программистов и 1664 робота. Сейчас ищут 1680 программистов ...

flexy:ignore="yes"

Вернуться к: HTML_Template_Flexy

flexy:ignore="yes"

flexy:ignore="yes" – Prevent Automatic form value replacement

Synopsis

Usage ( flexy:ignore="yes" )

Tells the generator not to replace form elements with PHP code. Can be used with a Form Tag, or individual elements.

<input>s and <textarea>s with flexy:include or flexy:ignore: If you are turning off flexy element creation with flexy:ignore="yes", then this is not inherited by included templates, and you need to add that tag to the included template as well.

Example

Template with flexy:ignore

  <form name="theform1">   <input name="theinput1">   <input name="theinput2" value="dummy"> </form>  <form name="theform2" flexy:ignore>   <input name="theinput3" value="dummy">   <input name="theinput4" value="dummy"> </form>  <form name="theform3">   <input name="theinput5" value="dummy" flexy:ignore>   <input name="theinput6" value="dummy"> </form>  <form name="theform4" flexy:ignoreonly="yes">   <input name="theinput7" value="dummy">   <input name="theinput8" value="dummy"> </form>

Compiled template

   <?php echo $this->elements['theform1']->toHtmlnoClose();?>  <?php echo $this->elements['theinput1']->toHtml();?>  <?php echo $this->elements['theinput2']->toHtml();?>  </form>  <form name="theform2">   <input name="theinput3" value="dummy">   <input name="theinput4" value="dummy"> </form>  <?php echo $this->elements['theform3']->toHtmlnoClose();?>   <input name="theinput5" value="dummy" flexy:ignore>  <?php echo $this->elements['theinput6']->toHtml();?> </form>   <form name="theform4">    <?php echo $this->elements['theinput7']->toHtml();?>  <?php echo $this->elements['theinput8']->toHtml();?>  </form>


Вернуться к: HTML_Template_Flexy

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware