n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/include/smarty3
2023-04-30 21:50:11 +02:00
..
demo initial import 2023-04-30 21:50:11 +02:00
internals initial import 2023-04-30 21:50:11 +02:00
misc initial import 2023-04-30 21:50:11 +02:00
plugins initial import 2023-04-30 21:50:11 +02:00
unit_test initial import 2023-04-30 21:50:11 +02:00
BUGS initial import 2023-04-30 21:50:11 +02:00
ChangeLog initial import 2023-04-30 21:50:11 +02:00
Config_File.class.php initial import 2023-04-30 21:50:11 +02:00
COPYING.lib initial import 2023-04-30 21:50:11 +02:00
debug.tpl initial import 2023-04-30 21:50:11 +02:00
FAQ initial import 2023-04-30 21:50:11 +02:00
INSTALL initial import 2023-04-30 21:50:11 +02:00
NEWS initial import 2023-04-30 21:50:11 +02:00
QUICK_START initial import 2023-04-30 21:50:11 +02:00
README initial import 2023-04-30 21:50:11 +02:00
RELEASE_NOTES initial import 2023-04-30 21:50:11 +02:00
Smarty.class.php initial import 2023-04-30 21:50:11 +02:00
Smarty_Compiler.class.php initial import 2023-04-30 21:50:11 +02:00
TODO initial import 2023-04-30 21:50:11 +02:00

NAME:

    Smarty - the PHP compiling template engine

VERSION: 2.6.22

AUTHORS:
    
    Monte Ohrt <monte at ohrt dot com>
    Andrei Zmievski <andrei@php.net>

MAILING LISTS:

    We have a few mailing lists. "discussion" for you to share your ideas or ask
	questions, "developers" for those interested in the development efforts of Smarty,
	and "svn" for those that would like to track the updates made in the svn
	repository.

    send a blank e-mail message to:
      smarty-discussion-subscribe@googlecode.com(subscribe to the general discussion list)
      smarty-discussion-unsubscribe@googlecode.com (unsubscribe from the general discussion list)
      smarty-discussion-digest-subscribe@googlecode.com (subscribe to digest)
      smarty-discussion-digest-unsubscribe@googlecode.com (unsubscribe from digest)
      smarty-developers-subscribe@googlecode.com (subscribe to the dev list)
      smarty-developers-unsubscribe@googlecode.com (unsubscribe from the dev list)
      smarty-svn-subscribe@googlecode.com (subscribe to the svn list)
      smarty-svn-unsubscribe@googlecode.com (unsubscribe from the svn list)

    You can also browse the mailing list archives at
    http://groups.google.com/group/smarty-discussion
    http://groups.google.com/group/smarty-developers

    and the OLD list archives at
    http://marc.theaimsgroup.com/?l=smarty&r=1&w=2

SYNOPSIS:

    require("Smarty.class.php");

    $smarty = new Smarty;

    $smarty->assign("Title","My Homepage");
    $smarty->assign("Names",array("John","Gary","Gregg","James"));

    $smarty->display("index.tpl");


DESCRIPTION:

    What is Smarty?

    Smarty is a template engine for PHP. Many other template engines for PHP
    provide basic variable substitution and dynamic block functionality.
    Smarty takes a step further to be a "smart" template engine, adding
    features such as configuration files, template functions, and variable
    modifiers, and making all of this functionality as easy as possible to
    use for both programmers and template designers. Smarty also converts
    the templates into PHP scripts, eliminating the need to parse the
    templates on every invocation. This makes Smarty extremely scalable and
    manageable for large application needs.

    Some of Smarty's features:

    * it is extremely fast
    * no template parsing overhead, only compiles once.
	* it is smart about recompiling only the template files that have
	  changed.
    * the template language is remarkably extensible via the plugin
      architecture.
    * configurable template delimiter tag syntax, so you can use
      {}, {{}}, <!--{}-->, or whatever you like.
    * built-in caching of template output.
    * arbitrary template sources (filesystem, databases, etc.)
    * template if/elseif/else/endif constructs are passed to the PHP parser,
      so the if syntax can be as simple or as complex as you like.
    * unlimited nesting of sections, conditionals, etc. allowed
    * it is possible to embed PHP code right in your template files,
      although not recommended and doubtfully needed since the engine
      is so customizable.
    * and many more.

COPYRIGHT:
    Copyright (c) 2001-2005 New Digital Group, Inc. All rights reserved.
    This software is released under the GNU Lesser General Public License.
    Please read the disclaimer at the top of the Smarty.class.php file.