PHP Classes

File: examples/tags/entities/tag.php

Recommend this page to a friend!
  Classes of Oliver Lillie   PHP Custom Tags   examples/tags/entities/tag.php   Download  
File: examples/tags/entities/tag.php
Role: Auxiliary script
Content type: text/plain
Description: Example script
Class: PHP Custom Tags
Template engine based on tags similar to HTML
Author: By
Last change: Update of examples/tags/entities/tag.php
Date: 4 months ago
Size: 119 bytes
 

Contents

Class file image Download
<?php

   
namespace CustomTags;

    function
ct_entities($tag)
    {
        return
htmlentities($tag['content'], ENT_QUOTES);
    }