SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast CamelToe's Avatar
    Join Date
    May 2003
    Location
    Canada
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AwesomeTemplateEngine Download?

    Where can one download the AwesomeTemplate Engine if you desired?

    www.pinkgoblin.com

    Seems to be down for some time now.

    I was curious just to see its implementation as a Template Engine.

  2. #2
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is the entire code:
    PHP Code:
    <?php 
    /* AwesomeTemplateEngine.class.php */ 
    class AwesomeTemplateEngine 
        var 
    $templatePath
        function 
    AwesomeTemplateEngine($templatePath) { 
            
    $this->templatePath=$templatePath
        } 
        function 
    parseTemplate($dataObject,$template) { 
            include(
    $this->templatePath.$template); 
        } 

    ?>
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •