mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
Removed BC docs, added TOC
This commit is contained in:
@@ -2,3 +2,26 @@
|
|||||||
|
|
||||||
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
|
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
- [Preface](./preface.md)
|
||||||
|
- [Getting Started](./getting-started.md)
|
||||||
|
|
||||||
|
## Smarty for Designers
|
||||||
|
- [Basic Syntax](./designers/language-basic-syntax.md)
|
||||||
|
- [Variables](./designers/language-variables.md)
|
||||||
|
- [Variable Modifiers](./designers/language-modifiers.md)
|
||||||
|
- [Combining Modifiers](./designers/language-combining-modifiers.md)
|
||||||
|
- [Built-in Functions](./designers/language-builtin-functions.md)
|
||||||
|
- [Custom Functions](./designers/language-custom-functions.md)
|
||||||
|
- [Config Files](./designers/config-files.md)
|
||||||
|
- [Debugging Console](./designers/chapter-debugging-console.md)
|
||||||
|
|
||||||
|
## Smarty of Programmers
|
||||||
|
- [Charset Encoding](./programmers/charset.md)
|
||||||
|
- [Constants](./programmers/smarty-constants.md)
|
||||||
|
- [Smarty Class Variables](./programmers/api-variables.md)
|
||||||
|
- [Smarty Class Methods](./programmers/api-functions.md)
|
||||||
|
- [Caching](./programmers/caching.md)
|
||||||
|
- [Resources](./programmers/resources.md)
|
||||||
|
- [Advanced Features](./programmers/advanced-features.md)
|
||||||
|
- [Extending Smarty With Plugins](./programmers/plugins.md)
|
@@ -1,20 +0,0 @@
|
|||||||
SmartyBC - Backwards Compatibility Wrapper {#bc}
|
|
||||||
==========================================
|
|
||||||
|
|
||||||
SmartyBC class {#bc.class}
|
|
||||||
==============
|
|
||||||
|
|
||||||
TODO: SmartyBC allows: {php} and {include\_php}
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
// instead of
|
|
||||||
require_once('path/to/smarty/libs/Smarty.class.php');
|
|
||||||
$smarty = new Smarty();
|
|
||||||
|
|
||||||
// use
|
|
||||||
require_once('path/to/smarty/libs/SmartyBC.class.php');
|
|
||||||
$smarty = new SmartyBC();
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user