Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
xsl_file.inc
1 <?php
17 require_once SQ_CORE_PACKAGE_PATH.'/files/file/file.inc';
18 
27 class Xsl_File extends File
28 {
29 
30 
36  public $allowed_extensions = Array('xsl');
37 
38 
45  function __construct($assetid=0)
46  {
47  parent::__construct($assetid);
48 
49  }//end constructor
50 
51 
58  function getContent()
59  {
60  require_once SQ_FUDGE_PATH.'/general/file_system.inc';
61  $parse_file = $this->data_path.'/'.$this->name;
62  $content = file_to_string($parse_file);
63 
64  return trim($content);
65 
66  }//end getContent()
67 
68 
69 }//end class
70 ?>