Login   Register  
PHP Classes

File: ParseHTMLfunction

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Minnur Yunusov  >  Parse HTML Template. Beta 3.5  >  ParseHTMLfunction  >  Download  
File: ParseHTMLfunction
Role: Example script
Content type: text/plain
Description: Simple function witch provides to use this class.
Class: Parse HTML Template. Beta 3.5
Process templates using regular expressions
Author: By
Last change: New function for Parse HTML Template. Beta 3.5
Date: 6 years ago
Size: 577 bytes


Class file image Download


  @author:   Minnur Yunusov (mmyunusov@gmail.com)
  @date:      12 March 2007
  @about:    Additional function to T.Parse.HTML.class.php

  function HTML ( arguments [array], tpl_name [string] )  [string] 
    echo HTML(array('key' => 'replaced value'), 'tmp/test');

function HTML($array$tpl_name) {
$CallClass = new ParseHTMLTemplate ($tpl_name$array);
$CallTemplate =  $CallClass -> ParseHTMLTemplate ();