This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Useful to remove tags (e.g <script>// some javascript code</script>) | |
*/ | |
class HtmlCleaner | |
{ | |
/** | |
* Remove tags from a string | |
* - opening tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This class allows to : | |
* - render templates from a basePath | |
* - create/update templates from nothing or using an existing template as a base | |
* | |
*/ | |
class Templating | |
{ |