[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/pattemplate/patTemplate/Reader/ -> File.php (summary)

patTemplate Reader that reads from a file $Id: File.php 10381 2008-06-01 03:35:53Z pasamio $

Author: Stephan Schmidt <schst@php.net>
File Size: 174 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

patTemplate_Reader_File:: (4 methods):
  readTemplates()
  loadTemplate()
  _resolveFullPath()
  _getFileContents()


Class: patTemplate_Reader_File  - X-Ref

patTemplate Reader that reads from a file

$Id: File.php 10381 2008-06-01 03:35:53Z pasamio $

readTemplates( $input )   X-Ref
read templates from any input

param: string    file to parse
return: array    templates

loadTemplate( $input )   X-Ref
load template from any input

If the a template is loaded, the content will not get
analyzed but the whole content is returned as a string.

param: mixed    input to load from.
return: string  template content

_resolveFullPath( $filename, $relativeTo = false )   X-Ref
resolve path for a template

param: string            filename
param: boolean|string  filename for relative path calculation
return: string            full path

_getFileContents( $file )   X-Ref
get the contents of a file

param: string        filename
return: string        file contents



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1