Recommend this page to a friend! |
Download |
Info | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
44% | Total: 1,363 | All time: 2,851 This week: 59 |
Version | License | PHP version | Categories | |||
abs_template 1.0 | MIT/X Consortium ... | 5 | PHP 5, Cache, Templates |
Description | Author | ||||||||||||||||||||||
This class implements a template engine based PHP script templates and variable replacement. |
|
Files (13) |
File | Role | Description | ||
---|---|---|---|---|
templates (6 files) | ||||
cache (1 file) | ||||
class.AbsTemplate.php | Class | The base class | ||
example_new | Example | Example using the default templates' cache expiry time | ||
example_caching.php | Example | Caching example | ||
example_db.php | Example | Display data from database | ||
example_default.php | Example | How to use AbsTemplate. No caching. | ||
example_variables.php | Example | How to pass variables to templates. |
Files (13) | / | templates |
File | Role | Description |
---|---|---|
content.php | Appl. | The content template file |
footer.php | Appl. | The footer template file |
header.php | Appl. | The header template file |
show_data_db.php | Appl. | The database connection template file |
show_variable.php | Appl. | The template file displaying a variable set in the parent file. |
sidebar.php | Appl. | The sidebar template file |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
This blog entry explains and gives examples about how to use this class. |