mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-20 16:05:20 +02:00
spanish docs initial commit
This commit is contained in:
48
docs/es/programmers/api-variables/variable-php-handling.xml
Normal file
48
docs/es/programmers/api-variables/variable-php-handling.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<sect1 id="variable.php.handling">
|
||||
<title>$php_handling</title>
|
||||
<para>
|
||||
Este informa al Smarty como manipular c<>digos PHP contenidos en los
|
||||
templates. Hay cuatro posibles configuraciones, siendo el default
|
||||
SMARTY_PHP_PASSTHRU. Observe que esto NO afectara los c<>digos php
|
||||
dentro de las etiquetas
|
||||
<link linkend="language.function.php">{php}{/php}</link> en el template.
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem><para>SMARTY_PHP_PASSTHRU - Smarty echos tags as-is.</para></listitem>
|
||||
<listitem><para>SMARTY_PHP_QUOTE - Smarty abre comillas a las etiquetas
|
||||
de entidades html.</para></listitem>
|
||||
<listitem><para>SMARTY_PHP_REMOVE - Smarty borra las etiquetas del
|
||||
template.</para></listitem>
|
||||
<listitem><para>SMARTY_PHP_ALLOW - Smarty ejecuta las etiquetas como
|
||||
c<>digo PHP.</para></listitem>
|
||||
</itemizedlist>
|
||||
<note>
|
||||
<para>
|
||||
Incrustar codigo PHP dentro del template es sumamente desalentador.
|
||||
Use <link linkend="language.custom.functions">custom functions</link>
|
||||
o <link linkend="language.modifiers">modifiers</link> en vez de eso.
|
||||
</para>
|
||||
</note>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
Reference in New Issue
Block a user