Recommend this page to a friend! |
Download .zip |
Info | View files (5) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 876 | All time: 3,985 This week: 798 |
Version | License | PHP version | Categories | |||
prerender-html 2.0 | GNU General Publi... | 5.0 | HTML, PHP 5, Templates |
Description | Author | |||
This class can preprocess templates and assign form input values. Innovation Award
|
hi,This version of the class has more features than `Fillform` class and has been corrected disadvantages of it. It has separated programming in PHP and designing and done processing on designed template and then print them out. `Fillform` class is based on function preg, but this new class has been written based on domDocument and considered template or output HTML as a XML doc and check it and if necessary, will modify it. Features of class: ● Reading template or HTML doc from file address or as a string ● Adding tag or new content to content of head and body tag ● Setting title for page by titlepage function ● Changing or adding content to a tag ● Setting attribute for one or some tags. ● Finding one or some tags based on id, class, title and deleting tag or specified tags ● Working with forms □ Setting textbox value □ Selecting from dropdownlist □ Selecting an option through radiobuttons group □ Checking or unchecking a checkbox □ Setting value of hiddenfield ● Inserting or retrieving after submit the form ● Inserting a template into another template ● ... /*******************************************************************************/ |
Files |
File | Role | Description |
---|---|---|
example.php | Example | example use of class |
HTMLPreRender.php | Class | class HTMLPreRender |
index.tpl | Data | template file |
MaterPage.tpl | Output | template file |
readme.txt | Doc. | readme file |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
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 |
Qeshm Tourism HTML preRender used in that |