Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 8377d4bb25a3992aad680df2952f4b71 > files > 172

php-smarty-doc-2.6.26-1mdv2010.0.noarch.rpm

<HTML
><HEAD
><TITLE
>$php_handling</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Smarty Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Smarty Class Variables"
HREF="api.variables.html"><LINK
REL="PREVIOUS"
TITLE="$default_template_handler_func"
HREF="variable.default.template.handler.func.html"><LINK
REL="NEXT"
TITLE="$security"
HREF="variable.security.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Smarty Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="variable.default.template.handler.func.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 12. Smarty Class Variables</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="variable.security.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="variable.php.handling"
></A
>$php_handling</H1
><P
>&#13;       This tells Smarty how to handle PHP code embedded in the
       templates. There are four possible settings, the default being
       <TT
CLASS="constant"
>SMARTY_PHP_PASSTHRU</TT
>. Note that this does NOT affect
       php code within <A
HREF="language.function.php.html"
>&#13;       <TT
CLASS="varname"
>{php}{/php}</TT
></A
> tags in the template.
      </P
><P
></P
><UL
><LI
><P
>&#13;       <TT
CLASS="constant"
>SMARTY_PHP_PASSTHRU</TT
> - Smarty echos tags as-is.
       </P
></LI
><LI
><P
>&#13;       <TT
CLASS="constant"
>SMARTY_PHP_QUOTE</TT
> - Smarty quotes the tags as
         html entities.
         </P
></LI
><LI
><P
>&#13;       <TT
CLASS="constant"
>SMARTY_PHP_REMOVE</TT
> - Smarty removes the tags from
         the templates.</P
></LI
><LI
><P
>&#13;       <TT
CLASS="constant"
>SMARTY_PHP_ALLOW</TT
> - Smarty will execute the tags
         as PHP code.</P
></LI
></UL
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
        Embedding PHP code into templates is highly discouraged.
        Use <A
HREF="plugins.functions.html"
>custom functions</A
> or
        <A
HREF="plugins.modifiers.html"
>modifiers</A
> instead.
       </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="variable.default.template.handler.func.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="variable.security.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>$default_template_handler_func</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="api.variables.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>$security</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>