Login   Register  
PHP Classes
elePHPant
Icontem

HTML preRender: Preprocess templates and assign form input values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-02-17 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 850 All time: 3,765 This week: 1,597Up
Version License PHP version Categories  
prerender-html 2.0GNU General Public Lice...5.0HTML, PHP 5, Templates
Description Author  

This class can preprocess templates and assign form input values.

It can load an HTML template from a file or a text string and alter the page elements to change the page contents.

Currently it can append elements to the page head or body, change the values of tag attributes, change the page title, remove tags, change the inner HTML contents of a tag, and change form input values.

The class can also assign form input values from an array of request values.

Innovation Award  
PHP Programming Innovation award winner
March 2012
Winner


Prize: One copy of RadPHP XE2
Most template engines required that the template designer inserts special marks on the template in order to identify where the template parameters should be inserted.

This class provides an alternative approach for determining where template parameters need to be inserted without having to explicitly mark insertion points.

It determines the position of the elements by the tag and name attributes like page titles and form inputs.

Manuel Lemos
Picture of mohamad Reza kavoosi
Name: mohamad Reza kavoosi is available for providing paid consulting. Contact mohamad Reza kavoosi .
Classes: 4 packages by
Country: Iran Iran
Age: 26
All time rank: 10366 in Iran Iran
Week rank: 227 Up6 in Iran Iran Equal
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example use of class
Plain text file HTMLPreRender.php Class class HTMLPreRender
Accessible without login Plain text file index.tpl Data template file
Accessible without login Plain text file MaterPage.tpl Output template file
Accessible without login Plain text file readme.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
 0%Total:850All time:3,765
 This week:0This week:1,597Up