Removed BC docs, added TOC

This commit is contained in:
Simon Wisselink
2021-12-03 10:38:26 +01:00
parent d5d2e69d04
commit ea5f03e2e2
2 changed files with 23 additions and 20 deletions

View File

@@ -2,3 +2,26 @@
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)

View File

@@ -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();
?>