From 0d1cebad79486ebd0dd7c04416901d5dc202b3e2 Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Thu, 11 Nov 2010 21:54:26 +0000 Subject: [PATCH] =?UTF-8?q?update=20README=20=E2=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/README b/README index 5bf7939e..f47016c9 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Smarty 3.0 Beta +Smarty 3.0 Author: Monte Ohrt Author: Uwe Tews @@ -536,44 +536,12 @@ is appended or prepended to the child block content. PHP STREAMS: ============ -(to be filled in) +(see online documentation) VARIBLE FILTERS: ================ -(to be filled in) - -PHP TEMPLATES -============= - -For those that prefer pure PHP over the {tag} based syntax, Smarty now offers -a PHP option for template syntax. PHP templates have several differences over -the tag-based templates: - -*) PHP templates are not compiled, they are included directly by the engine. -*) None of Smarty's security features are applied to PHP templates. -*) By default, PHP templates are disabled, set $smarty->allow_php_templates=true. - -If you want to use a PHP template, just use the "php" resource type: - -$smarty->display('php:foo.php'); - -You can also mix PHP templates with {tag} templates: - -{include file="php:foo.php"} - -In PHP templates, assigned vars are available simply as: - -// same as {$foo} - - // php short tags - -At this point, smarty modifier/function plugins are not -conveniently accessible from PHP templates. A wrapper -function may become available in the future. - -You can call PHP functions a usual: - +(see online documentation) STATIC CLASS ACCESS AND NAMESPACE SUPPORT