format 74
"Templating" // default::Nette::Templating
  revision 1
  modified_by 127 "neo"
  // class settings
  //class diagram settings
  draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
  //use case diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default class_drawing_mode default shadow default show_stereotype_properties default
  //sequence diagram settings
  show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
  //collaboration diagram settings
  show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
  //object diagram settings
   write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
  //component diagram settings
  package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //deployment diagram settings
  package_name_in_tab default show_context default write_horizontally default auto_label_position default draw_all_relations default shadow default
  draw_component_as_icon default show_component_req_prov default show_component_rea default show_stereotype_properties default
  //state diagram settings
  package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
  show_activities default region_horizontally default drawing_language default show_stereotype_properties default
  //activity diagram settings
  package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
  show_infonote default drawing_language default show_stereotype_properties default
  
  comment "This file is part of the Nette Framework (http://nette.org) 
Copyright (c) 2004 David Grudl (http://davidgrudl.com) 
For the full copyright and license information, please view the file license.txt that was distributed with this source code."
  classview 133375 "Class View"
    //class diagram settings
    draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_context default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default
    //collaboration diagram settings
    show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default show_msg_context default draw_all_relations default shadow default show_stereotype_properties default
    //object diagram settings
     write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default show_stereotype_properties default
    //sequence diagram settings
    show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default show_stereotype_properties default show_class_context_mode default show_msg_context_mode default
    //state diagram settings
    package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
    show_activities default region_horizontally default drawing_language default show_stereotype_properties default
    //class settings
    //activity diagram settings
    package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
    show_infonote default drawing_language default show_stereotype_properties default
    class 159871 "ITemplate"
      abstract visibility package stereotype "interface"
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Defines template methods."
      operation 327679 "render"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Renders template to output."
      end
    end

    class 159999 "FilterException"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "The exception occured during template compilation."
      classrelation 150783 // <generalisation>
	relation 150783 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 150783 // <generalisation>
	  b parent class_ref 143487 // InvalidStateException
      end

      attribute 219007 "_sourceFile"
	public explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219135 "_sourceLine"
	public explicit_type "int"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 327807 "__construct"
	public explicit_return_type "void"
	nparams 3
	  param in name "$message" explicit_type "mixed"
	  param in name "$code" explicit_type "int"
	    defaultvalue "0"
	  param in name "$sourceLine" explicit_type "int"
	    defaultvalue "0"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 327935 "setSourceFile"
	public explicit_return_type "void"
	nparams 1
	  param in name "$file" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 160127 "Template"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Template."
      classrelation 150911 // <generalisation>
	relation 150911 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 150911 // <generalisation>
	  b parent class_ref 142335 // Object
      end

      attribute 219263 "_onPrepareFilters"
	public explicit_type "array"
	init_value "array()"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219391 "_source"
	private explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219519 "_params"
	private explicit_type "array"
	init_value "array()"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219647 "_filters"
	private explicit_type "array"
	init_value "array()"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219775 "_helpers"
	private explicit_type "array"
	init_value "array()"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 219903 "_helperLoaders"
	private explicit_type "array"
	init_value "array()"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 220031 "_cacheStorage"
	private type class_ref 149759 // IStorage
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 328063 "setSource"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$source" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets template source code."
      end

      operation 328191 "getSource"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns template source code."
      end

      operation 328319 "render"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders template to output."
      end

      operation 328447 "save"
	public explicit_return_type "void"
	nparams 1
	  param in name "$file" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders template to file."
      end

      operation 328575 "__toString"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders template to string."
      end

      operation 328703 "compile"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Applies filters on template content."
      end

      operation 328831 "registerFilter"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$callback" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Registers callback as template compile-time filter."
      end

      operation 328959 "getFilters"
	public explicit_return_type "array"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns all registered compile-time filters."
      end

      operation 329087 "registerHelper"
	public return_type class_ref 160127 // Template
	nparams 2
	  param in name "$name" explicit_type "mixed"
	  param in name "$callback" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Registers callback as template run-time helper."
      end

      operation 329215 "registerHelperLoader"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$callback" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Registers callback as template run-time helpers loader."
      end

      operation 329343 "getHelpers"
	public explicit_return_type "array"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns all registered run-time helpers."
      end

      operation 329471 "getHelperLoaders"
	public explicit_return_type "array"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns all registered template run-time helper loaders."
      end

      operation 329599 "__call"
	public explicit_return_type "mixed"
	nparams 2
	  param in name "$name" explicit_type "mixed"
	  param in name "$args" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Call a template run-time helper. Do not call directly."
      end

      operation 329727 "setTranslator"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$translator" explicit_type ""
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets translate adapter."
      end

      operation 329855 "add"
	public return_type class_ref 160127 // Template
	nparams 2
	  param in name "$name" explicit_type "mixed"
	  param in name "$value" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Adds new template parameter."
      end

      operation 329983 "setParameters"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$params" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets all parameters."
      end

      operation 330111 "getParameters"
	public explicit_return_type "array"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns array of all parameters."
      end

      operation 330239 "setParams"
	public explicit_return_type "void"
	nparams 1
	  param in name "$params" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 330367 "getParams"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 330495 "__set"
	public explicit_return_type "void"
	nparams 2
	  param in name "$name" explicit_type "mixed"
	  param in name "$value" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets a template parameter. Do not call directly."
      end

      operation 330623 "__get"
	public explicit_return_type "mixed"
	nparams 1
	  param in name "$name" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns a template parameter. Do not call directly."
      end

      operation 330751 "__isset"
	public explicit_return_type "bool"
	nparams 1
	  param in name "$name" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Determines whether parameter is defined. Do not call directly."
      end

      operation 330879 "__unset"
	public explicit_return_type "void"
	nparams 1
	  param in name "$name" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Removes a template parameter. Do not call directly."
      end

      operation 331007 "setCacheStorage"
	public return_type class_ref 160127 // Template
	nparams 1
	  param in name "$storage" type class_ref 149759 // IStorage
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Set cache storage."
      end

      operation 331135 "getCacheStorage"
	public return_type class_ref 149759 // IStorage
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 331263 "extractPhp"
	class_operation private explicit_return_type "string"
	nparams 2
	  param in name "$source" explicit_type "mixed"
	  param inout name "$blocks" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Extracts all blocks of PHP code."
      end

      classrelation 151039 // <realization>
	relation 151039 -_-|>
	  a public
	    php "${type}"
	    classrelation_ref 151039 // <realization>
	  b parent class_ref 159871 // ITemplate
      end
    end

    class 160255 "Helpers"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Template helpers."
      attribute 220159 "_helpers"
	class_attribute private explicit_type "array"
	init_value "array('normalize'=>'Nette\\Utils\\Strings::normalize','toascii'=>'Nette\\Utils\\Strings::toAscii','webalize'=>'Nette\\Utils\\Strings::webalize','truncate'=>'Nette\\Utils\\Strings::truncate','lower'=>'Nette\\Utils\\Strings::lower','upper'=>'Nette\\Utils\\Strings::upper','firstupper'=>'Nette\\Utils\\Strings::firstUpper','capitalize'=>'Nette\\Utils\\Strings::capitalize','trim'=>'Nette\\Utils\\Strings::trim','padleft'=>'Nette\\Utils\\Strings::padLeft','padright'=>'Nette\\Utils\\Strings::padRight','reverse'=>'Nette\\Utils\\Strings::reverse','replacere'=>'Nette\\Utils\\Strings::replace','url'=>'rawurlencode','striptags'=>'strip_tags','nl2br'=>'nl2br','substr'=>'Nette\\Utils\\Strings::substring','repeat'=>'str_repeat','implode'=>'implode','number'=>'number_format',)"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 220287 "_dateFormat"
	class_attribute public explicit_type "string"
	init_value "'%x'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 331391 "loader"
	class_operation public explicit_return_type ""
	nparams 1
	  param in name "$helper" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Try to load the requested helper."
      end

      operation 331519 "escapeHtml"
	class_operation public explicit_return_type "string"
	nparams 2
	  param in name "$s" explicit_type "mixed"
	  param in name "$quotes" explicit_type "mixed"
	    defaultvalue "ENT_QUOTES"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside HTML template."
      end

      operation 331647 "escapeHtmlComment"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside HTML comments."
      end

      operation 331775 "escapeXML"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside XML 1.0 template."
      end

      operation 331903 "escapeCss"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside CSS template."
      end

      operation 332031 "escapeJs"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside JavaScript template."
      end

      operation 332159 "escapeICal"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Escapes string for use inside iCal template."
      end

      operation 332287 "strip"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$s" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Replaces all repeated white spaces with a single space."
      end

      operation 332415 "indent"
	class_operation public explicit_return_type "string"
	nparams 3
	  param in name "$s" explicit_type "mixed"
	  param in name "$level" explicit_type "int"
	    defaultvalue "1"
	  param in name "$chars" explicit_type "string"
	    defaultvalue "\"\\t\""
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Indents the HTML content from the left."
      end

      operation 332543 "date"
	class_operation public explicit_return_type "string"
	nparams 2
	  param in name "$time" explicit_type "mixed"
	  param in name "$format" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Date/time formatting."
      end

      operation 332671 "bytes"
	class_operation public explicit_return_type "string"
	nparams 2
	  param in name "$bytes" explicit_type "mixed"
	  param in name "$precision" explicit_type "int"
	    defaultvalue "2"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Converts to human readable file size."
      end

      operation 332799 "length"
	class_operation public explicit_return_type "int"
	nparams 1
	  param in name "$var" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns array of string length."
      end

      operation 332927 "replace"
	class_operation public explicit_return_type "string"
	nparams 3
	  param in name "$subject" explicit_type "mixed"
	  param in name "$search" explicit_type "mixed"
	  param in name "$replacement" explicit_type "string"
	    defaultvalue "''"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Performs a search and replace."
      end

      operation 333055 "dataStream"
	class_operation public explicit_return_type "string"
	nparams 2
	  param in name "$data" explicit_type "mixed"
	  param in name "$type" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "The data: URI generator."
      end

      operation 333183 "null"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$value" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "/dev/null."
      end

      operation 333311 "optimizePhp"
	class_operation public explicit_return_type "string"
	nparams 3
	  param in name "$source" explicit_type "mixed"
	  param in name "$lineLength" explicit_type "int"
	    defaultvalue "80"
	  param in name "$existenceOfThisParameterSolvesDamnBugInPHP535" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Removes unnecessary blocks of PHP code."
      end
    end

    class 160383 "IFileTemplate"
      abstract visibility package stereotype "interface"
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Defines file-based template methods."
      operation 333439 "setFile"
	public explicit_return_type "void"
	nparams 1
	  param in name "$file" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Sets the path to the template file."
      end

      operation 333567 "getFile"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Returns the path to the template file."
      end

      classrelation 151167 // <generalisation>
	relation 151167 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 151167 // <generalisation>
	  b parent class_ref 159871 // ITemplate
      end
    end

    class 160511 "FileTemplate"
      visibility package 
      cpp_decl ""
      java_decl ""
      php_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
${members}}
"
      python_2_2 python_decl ""
      idl_decl ""
      explicit_switch_type ""
      
      comment "Template stored in file."
      classrelation 151295 // <generalisation>
	relation 151295 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 151295 // <generalisation>
	  b parent class_ref 160127 // Template
      end

      attribute 220415 "_file"
	private explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 333695 "__construct"
	public explicit_return_type "void"
	nparams 1
	  param in name "$file" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Constructor."
      end

      operation 333823 "setFile"
	public return_type class_ref 160511 // FileTemplate
	nparams 1
	  param in name "$file" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets the path to the template file."
      end

      operation 333951 "getFile"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns the path to the template file."
      end

      operation 334079 "getSource"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns template source code."
      end

      operation 334207 "render"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders template to output."
      end

      classrelation 151423 // <realization>
	relation 151423 -_-|>
	  a public
	    php "${type}"
	    classrelation_ref 151423 // <realization>
	  b parent class_ref 160383 // IFileTemplate
      end
    end
  end
end
