format 74
"Macros" // default::Nette::Latte::Macros
  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 131839 "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 152191 "MacroSet"
      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 "Base IMacro implementation. Allows add multiple macros."
      classrelation 143743 // <generalisation>
	relation 143743 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 143743 // <generalisation>
	  b parent class_ref 142335 // Object
      end

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

      attribute 195839 "_macros"
	private explicit_type "array"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 260607 "__construct"
	public explicit_return_type "void"
	nparams 1
	  param in name "$compiler" type class_ref 151551 // Compiler
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 260735 "addMacro"
	public explicit_return_type "void"
	nparams 4
	  param in name "$name" explicit_type "mixed"
	  param in name "$begin" explicit_type "mixed"
	  param in name "$end" explicit_type "mixed"
	    defaultvalue "NULL"
	  param in name "$attr" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 260863 "install"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$compiler" type class_ref 151551 // Compiler
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 260991 "initialize"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Initializes before template parsing."
      end

      operation 261119 "finalize"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Finishes template parsing."
      end

      operation 261247 "nodeOpened"
	public explicit_return_type "bool"
	nparams 1
	  param in name "$node" type class_ref 151679 // MacroNode
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "New node is found."
      end

      operation 261375 "nodeClosed"
	public explicit_return_type "void"
	nparams 1
	  param in name "$node" type class_ref 151679 // MacroNode
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Node is closed."
      end

      operation 261503 "compile"
	private explicit_return_type "string"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$def" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Generates code."
      end

      operation 261631 "getCompiler"
	public return_type class_ref 151551 // Compiler
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      classrelation 143871 // <realization>
	relation 143871 -_-|>
	  a public
	    php "${type}"
	    classrelation_ref 143871 // <realization>
	  b parent class_ref 150911 // IMacro
      end
    end

    class 152319 "UIMacros"
      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 "Macros for Nette\\Application\\UI.

- {link destination ...} control link - {plink destination ...} presenter link - {snippet ?} ... {/snippet ?} control snippet - {contentType ...} HTTP Content-Type header - {status ...} HTTP status"
      classrelation 143999 // <generalisation>
	relation 143999 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 143999 // <generalisation>
	  b parent class_ref 152191 // MacroSet
      end

      attribute 195967 "_namedBlocks"
	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 196095 "_extends"
	private explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 261759 "install"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$compiler" type class_ref 151551 // Compiler
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 261887 "initialize"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Initializes before template parsing."
      end

      operation 262015 "finalize"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Finishes template parsing."
      end

      operation 262143 "macroInclude"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{include #block}"
      end

      operation 262271 "macroIncludeBlock"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{includeblock \"file\"}"
      end

      operation 262399 "macroExtends"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{extends auto | none | $var | \"file\"}"
      end

      operation 262527 "macroBlock"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{block [[#]name]} {snippet [name [,]] [tag]} {define [#]name}"
      end

      operation 262655 "macroBlockEnd"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{/block} {/snippet} {/define}"
      end

      operation 262783 "macroIfset"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{ifset #block}"
      end

      operation 262911 "macroControl"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{control name[:method] [params]}"
      end

      operation 263039 "macroLink"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{link destination [,] [params]} {plink destination [,] [params]} n:href=\"destination [,] [params]\""
      end

      operation 263167 "macroIfCurrent"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{ifCurrent destination [,] [params]}"
      end

      operation 263295 "macroContentType"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{contentType ...}"
      end

      operation 263423 "macroStatus"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{status ...}"
      end

      operation 263551 "callBlock"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$context" explicit_type ""
	  param in name "$name" explicit_type "mixed"
	  param in name "$params" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Calls block."
      end

      operation 263679 "callBlockParent"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$context" explicit_type ""
	  param in name "$name" explicit_type "mixed"
	  param in name "$params" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Calls parent block."
      end

      operation 263807 "renderSnippets"
	class_operation public explicit_return_type "void"
	nparams 3
	  param in name "$control" type class_ref 148607 // Control
	  param in name "$local" explicit_type ""
	  param in name "$params" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 152447 "FormMacros"
      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 "Macros for Nette\\Forms.

- {form name} ... {/form} - {input name} - {label name /} or {label name}... {/label} - {formContainer name} ... {/formContainer}"
      classrelation 144127 // <generalisation>
	relation 144127 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 144127 // <generalisation>
	  b parent class_ref 152191 // MacroSet
      end

      operation 263935 "install"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$compiler" type class_ref 151551 // Compiler
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 264063 "macroLabel"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{label ...} and optionally {/label}"
      end

      operation 264191 "macroAttrInput"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "n:input"
      end

      operation 264319 "renderFormBegin"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$form" explicit_type ""
	  param in name "$attrs" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders form begin."
      end

      operation 264447 "renderFormEnd"
	class_operation public explicit_return_type "string"
	nparams 1
	  param in name "$form" explicit_type ""
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Renders form end."
      end
    end

    class 152575 "CoreMacros"
      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 "Basic macros for Latte.

- {if ?} ... {elseif ?} ... {else} ... {/if} - {ifset ?} ... {elseifset ?} ... {/ifset} - {for ?} ... {/for} - {foreach ?} ... {/foreach} - {$variable} with escaping - {!$variable} without escaping - {=expression} echo with escaping - {!=expression} echo without escaping - {?expression} evaluate PHP statement - {_expression} echo translation with escaping - {!_expression} echo translation without escaping - {attr ?} HTML element attributes - {capture ?} ... {/capture} capture block to parameter - {var var => value} set template parameter - {default var => value} set default template parameter - {dump $var} - {debugbreak} - {l} {r} to display { }"
      classrelation 144255 // <generalisation>
	relation 144255 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 144255 // <generalisation>
	  b parent class_ref 152191 // MacroSet
      end

      operation 264575 "install"
	class_operation public explicit_return_type "void"
	nparams 1
	  param in name "$compiler" type class_ref 151551 // Compiler
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 264703 "finalize"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Finishes template parsing."
      end

      operation 264831 "macroIf"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{if ...}"
      end

      operation 264959 "macroEndIf"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{/if ...}"
      end

      operation 265087 "macroElse"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{else}"
      end

      operation 265215 "macroTranslate"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{_$var |modifiers}"
      end

      operation 265343 "macroInclude"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{include \"file\" [,] [params]}"
      end

      operation 265471 "macroUse"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{use class MacroSet}"
      end

      operation 265599 "macroCapture"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{capture $variable}"
      end

      operation 265727 "macroCaptureEnd"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{/capture}"
      end

      operation 265855 "macroEndForeach"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{foreach ...}"
      end

      operation 265983 "macroClass"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "n:class=\"...\""
      end

      operation 266111 "macroAttr"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "n:attr=\"...\""
      end

      operation 266239 "macroOldAttr"
	public explicit_return_type "void"
	nparams 1
	  param in name "$node" type class_ref 151679 // MacroNode
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{attr ...}"
      end

      operation 266367 "macroDump"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{dump ...}"
      end

      operation 266495 "macroDebugbreak"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{debugbreak ...}"
      end

      operation 266623 "macroVar"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{var ...} {default ...}"
      end

      operation 266751 "macroExpr"
	public explicit_return_type "void"
	nparams 2
	  param in name "$node" type class_ref 151679 // MacroNode
	  param in name "$writer" type class_ref 151039 // PhpWriter
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "{= ...} {? ...}"
      end

      operation 266879 "includeTemplate"
	class_operation public explicit_return_type ""
	nparams 3
	  param in name "$destination" explicit_type "mixed"
	  param in name "$params" explicit_type "array"
	  param in name "$template" explicit_type ""
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Includes subtemplate."
      end

      operation 267007 "initRuntime"
	class_operation public explicit_return_type ""
	nparams 2
	  param in name "$template" explicit_type ""
	  param in name "$templateId" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Initializes local & global storage in template."
      end
    end

    class 152703 "CacheMacro"
      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 "Macro {cache} ... {/cache}"
      classrelation 144383 // <generalisation>
	relation 144383 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 144383 // <generalisation>
	  b parent class_ref 142335 // Object
      end

      attribute 196223 "_used"
	private explicit_type "bool"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 267135 "initialize"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Initializes before template parsing."
      end

      operation 267263 "finalize"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Finishes template parsing."
      end

      operation 267391 "nodeOpened"
	public explicit_return_type "bool"
	nparams 1
	  param in name "$node" type class_ref 151679 // MacroNode
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "New node is found."
      end

      operation 267519 "nodeClosed"
	public explicit_return_type "void"
	nparams 1
	  param in name "$node" type class_ref 151679 // MacroNode
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Node is closed."
      end

      operation 267647 "initRuntime"
	class_operation public explicit_return_type "void"
	nparams 2
	  param in name "$template" explicit_type ""
	  param in name "$global" explicit_type ""
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 267775 "createCache"
	class_operation public return_type class_ref 149631 // OutputHelper
	nparams 4
	  param in name "$cacheStorage" type class_ref 149759 // IStorage
	  param in name "$key" explicit_type "mixed"
	  param inout name "$parents" explicit_type "mixed"
	  param in name "$args" explicit_type "array"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Starts the output cache. Returns Nette\\Caching\\OutputHelper object if buffering was started."
      end

      classrelation 144511 // <realization>
	relation 144511 -_-|>
	  a public
	    php "${type}"
	    classrelation_ref 144511 // <realization>
	  b parent class_ref 150911 // IMacro
      end
    end
  end
end
