<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://php.apsique.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Php y otras yerbas - Seguimos con symfony, 2 trasnochadas y dos monitores después - Comentarios</title>
 <link>http://php.apsique.com/contenido/seguimos_con_symfony_2_trasnochadas_y_dos_monitores_despues</link>
 <description>Comentarios para &quot;Seguimos con symfony, 2 trasnochadas y dos monitores después&quot;</description>
 <language>es</language>
<item>
 <title>Juas. Verdad. Al final,</title>
 <link>http://php.apsique.com/contenido/seguimos_con_symfony_2_trasnochadas_y_dos_monitores_despues#comment-81562</link>
 <description>&lt;p&gt;Juas. Verdad. Al final, cualquier pequeña modificación hace más cómodo escribir el select directo en HTML.&lt;/p&gt;
</description>
 <pubDate>Tue, 27 May 2008 07:31:17 -0700</pubDate>
 <dc:creator>clbustos</dc:creator>
 <guid isPermaLink="false">comment 81562 at http://php.apsique.com</guid>
</item>
<item>
 <title>Se te han olvidado los</title>
 <link>http://php.apsique.com/contenido/seguimos_con_symfony_2_trasnochadas_y_dos_monitores_despues#comment-81551</link>
 <description>&lt;p&gt;Se te han olvidado los helpers Object, &lt;em&gt;object_select_tag()&lt;/em&gt; que a su vez si usas doctrine estará sobreescrito en el plugin para Doctrine, el cual a su vez para personalizarlo y usar internacionalización (cosa que necesito) tendrás que volver a sobreescribirlo!, pan comido! jaja &amp;lt;/ironía&amp;gt;&lt;/p&gt;
</description>
 <pubDate>Tue, 27 May 2008 03:02:51 -0700</pubDate>
 <dc:creator>Blax</dc:creator>
 <guid isPermaLink="false">comment 81551 at http://php.apsique.com</guid>
</item>
<item>
 <title>Seguimos con symfony, 2 trasnochadas y dos monitores después</title>
 <link>http://php.apsique.com/contenido/seguimos_con_symfony_2_trasnochadas_y_dos_monitores_despues</link>
 <description>&lt;p&gt;Cómo ha se habrán dado la lata con los &lt;a href=&#039;http://php.apsique.com/contenido/primeras_impresiones_sobre_symfony&#039;&gt;dos&lt;/a&gt; &lt;a href=&#039;http://php.apsique.com/contenido/respuesta_blaxter_sobre_symfony&#039;&gt;artículos&lt;/a&gt; anteriores sobre symfony, he tenido que tragarme más de un par de trasnochadas mejorando una aplicación en symfony que debo sacar sí o sí esta semana.&lt;/p&gt;
&lt;p&gt;Después de leer casi completo &lt;a href=&#039;http://www.symfony-project.org/book/&#039;&gt;EL LIBRO&lt;/a&gt; y partes de la &lt;a href=&#039;http://www.symfony-project.org/api/1_0/&#039;&gt;API&lt;/a&gt;, ya casi, casi, puedo decir que entiendo como funciona el bicho.&lt;/p&gt;
&lt;p&gt;En primer lugar, todavía me parece muy razonable la forma en la cual estructuraron la capa &quot;Control&quot;. No es nada del otro mundo desarrollarlo (es cosa de hacer un par de includes bien puestos en función del URL), pero el sistema de ruteo con las URL no está mal. Casi drupaliano :)&lt;/p&gt;
&lt;p&gt;La capa Vista es un caos. Funciones que se sobreponen unas sobre otras, sin ninguna que se atreva a realizar el trabajo completo. Por ejemplo, copio verbatim todas las formas en las que se puede crear un select, según EL LIBRO. Y eso que faltan...&lt;/p&gt;
&lt;div class=&#039;code&#039;&gt;&lt;div class=&quot;hl-main&quot;&gt;&lt;ol class=&quot;hl-main&quot;&gt;&lt;li&gt;&amp;nbsp;&lt;span class=&quot;hl-code&quot;&gt;// Dropdown list (select)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;select_tag&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;payment&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;&amp;lt;option selected=&amp;quot;selected&amp;quot;&amp;gt;Visa&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;   &amp;lt;option&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;   &amp;lt;option&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;select name=&amp;quot;payment&amp;quot; id=&amp;quot;payment&amp;quot;&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option selected=&amp;quot;selected&amp;quot;&amp;gt;Visa&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;/select&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;// List of options for a select tag&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;options_for_select&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;option value=&amp;quot;0&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Visa&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;option value=&amp;quot;2&amp;quot;&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;// Dropdown helper combined with a list of options&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;select_tag&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;payment&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;options_for_select&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;select name=&amp;quot;payment&amp;quot; id=&amp;quot;payment&amp;quot;&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;0&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Visa&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;2&amp;quot;&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;/select&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;// To specify option names, use an associative array&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;select_tag&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;options_for_select&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Steve&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;  =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Steve&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Bob&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;    =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Bob&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Albert&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Albert&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Ian&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;    =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Ian&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Buck&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;   =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Buck&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Ian&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;select name=&amp;quot;name&amp;quot; id=&amp;quot;name&amp;quot;&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Steve&amp;quot;&amp;gt;Steve&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Bob&amp;quot;&amp;gt;Bob&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Albert&amp;quot;&amp;gt;Albert&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Ian&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Ian&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Buck&amp;quot;&amp;gt;Buck&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;/select&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;// Dropdown list with multiple selection (selected values can be an array)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;select_tag&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;payment&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;options_for_select&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;multiple&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;) &lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;select name=&amp;quot;payment[]&amp;quot; id=&amp;quot;payment&amp;quot; multiple=&amp;quot;multiple&amp;quot;&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Visa&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Visa&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Eurocard&amp;quot;&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Mastercard&amp;quot;&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;/select&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;// Drop-down list with multiple selection (selected values can be an array)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;select_tag&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;payment&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;options_for_select&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Eurocard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; =&amp;gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;,&lt;/li&gt;
&lt;li&gt;&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;array&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Visa&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Mastercard&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;multiple=multiple&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; =&amp;gt; &amp;lt;select name=&amp;quot;payment&amp;quot; id=&amp;quot;payment&amp;quot; multiple=&amp;quot;multiple&amp;quot;&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Visa&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt; &lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Eurocard&amp;quot;&amp;gt;Eurocard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;      &amp;lt;option value=&amp;quot;Mastercard&amp;quot; selected=&amp;quot;selected&amp;quot;&amp;gt;Mastercard&amp;lt;/option&amp;gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &amp;lt;/select&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Horrendo... En Drupal, con theme(&quot;select&quot;) basta y sobra....
Sobre la capa Modelo ya hablamos, así que seguiré más rato, porque acaba de llegar mi mujer.&lt;/p&gt;</description>
 <comments>http://php.apsique.com/contenido/seguimos_con_symfony_2_trasnochadas_y_dos_monitores_despues#comments</comments>
 <category domain="http://php.apsique.com/categoria/lenguajes/php_php_retorcido">Php retorcido</category>
 <category domain="http://php.apsique.com/categoria/temas_generales/programacion">Programación</category>
 <category domain="http://php.apsique.com/categoria/busquedas_comunes/symfony">symfony</category>
 <pubDate>Mon, 26 May 2008 19:10:33 -0700</pubDate>
 <dc:creator>clbustos</dc:creator>
 <guid isPermaLink="false">1321 at http://php.apsique.com</guid>
</item>
</channel>
</rss>
