format 74
"Caching" // default::Nette::Caching
  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 131455 "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 149631 "OutputHelper"
      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 "Output caching helper."
      classrelation 141183 // <generalisation>
	relation 141183 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 141183 // <generalisation>
	  b parent class_ref 142335 // Object
      end

      attribute 175359 "_dependencies"
	public explicit_type "array"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

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

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

      operation 241919 "__construct"
	public explicit_return_type "void"
	nparams 2
	  param in name "$cache" explicit_type ""
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 242047 "end"
	public explicit_return_type "void"
	nparams 1
	  param in name "$dependencies" explicit_type "array"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Stops and saves the cache."
      end
    end

    class 149759 "IStorage"
      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 "Cache storage."
      operation 242175 "read"
	public explicit_return_type ""
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Read from cache."
      end

      operation 242303 "lock"
	public explicit_return_type "void"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Prevents item reading and writing. Lock is released by write() or remove()."
      end

      operation 242431 "write"
	public explicit_return_type "void"
	nparams 3
	  param in name "$key" explicit_type "mixed"
	  param in name "$data" explicit_type "mixed"
	  param in name "$dependencies" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Writes item into the cache."
      end

      operation 242559 "remove"
	public explicit_return_type "void"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Removes item from the cache."
      end

      operation 242687 "clean"
	public explicit_return_type "void"
	nparams 1
	  param in name "$conditions" explicit_type "array"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)};"
	
	
	comment "Removes items from the cache by conditions."
      end
    end

    class 149887 "Cache"
      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 "Implements the cache for a application."
      classrelation 141311 // <generalisation>
	relation 141311 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 141311 // <generalisation>
	  b parent class_ref 142335 // Object
      end

      attribute 175743 "PRIORITY"
	class_attribute const_attribute public explicit_type "string"
	init_value "'priority'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
	comment "dependency"
      end

      attribute 175871 "EXPIRATION"
	public explicit_type "string"
	init_value "'expire'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 175999 "EXPIRE"
	public explicit_type "string"
	init_value "'expire'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176127 "SLIDING"
	public explicit_type "string"
	init_value "'sliding'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176255 "TAGS"
	public explicit_type "string"
	init_value "'tags'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176383 "FILES"
	public explicit_type "string"
	init_value "'files'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176511 "ITEMS"
	public explicit_type "string"
	init_value "'items'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176639 "CONSTS"
	public explicit_type "string"
	init_value "'consts'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176767 "CALLBACKS"
	public explicit_type "string"
	init_value "'callbacks'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 176895 "ALL"
	public explicit_type "string"
	init_value "'all'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

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

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

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

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

      operation 242815 "__construct"
	public explicit_return_type "void"
	nparams 2
	  param in name "$storage" type class_ref 149759 // IStorage
	  param in name "$namespace" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 242943 "getStorage"
	public return_type class_ref 149759 // IStorage
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns cache storage."
      end

      operation 243071 "getNamespace"
	public explicit_return_type "string"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns cache namespace."
      end

      operation 243199 "derive"
	public return_type class_ref 149887 // Cache
	nparams 1
	  param in name "$namespace" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns new nested cache object."
      end

      operation 243327 "load"
	public explicit_return_type ""
	nparams 2
	  param in name "$key" explicit_type "mixed"
	  param in name "$fallback" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Reads the specified item from the cache or generate it."
      end

      operation 243455 "save"
	public explicit_return_type "mixed"
	nparams 3
	  param in name "$key" explicit_type "mixed"
	  param in name "$data" explicit_type "mixed"
	  param in name "$dependencies" explicit_type "array"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Writes item into the cache.
Dependencies are:
- Cache::PRIORITY => (int) priority - Cache::EXPIRATION => (timestamp) expiration - Cache::SLIDING => (bool) use sliding expiration? - Cache::TAGS => (array) tags - Cache::FILES => (array|string) file names - Cache::ITEMS => (array|string) cache items - Cache::CONSTS => (array|string) cache items"
      end

      operation 243583 "completeDependencies"
	private explicit_return_type "void"
	nparams 2
	  param in name "$dp" explicit_type "mixed"
	  param in name "$data" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 243711 "remove"
	public explicit_return_type "void"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Removes item from the cache."
      end

      operation 243839 "clean"
	public explicit_return_type "void"
	nparams 1
	  param in name "$conditions" explicit_type "array"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Removes items from the cache by conditions.
Conditions are:
- Cache::PRIORITY => (int) priority - Cache::TAGS => (array) tags - Cache::ALL => TRUE"
      end

      operation 243967 "call"
	public explicit_return_type "mixed"
	nparams 1
	  param in name "$function" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Caches results of function/method calls."
      end

      operation 244095 "wrap"
	public explicit_return_type ""
	nparams 2
	  param in name "$function" explicit_type "mixed"
	  param in name "$dependencies" explicit_type "array"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Caches results of function/method calls."
      end

      operation 244223 "start"
	public explicit_return_type ""
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Starts the output cache."
      end

      operation 244351 "generateKey"
	protected explicit_return_type "string"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Generates internal cache key."
      end

      operation 244479 "offsetSet"
	public explicit_return_type "void"
	nparams 2
	  param in name "$key" explicit_type "mixed"
	  param in name "$data" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Inserts (replaces) item into the cache (\\ArrayAccess implementation)."
      end

      operation 244607 "offsetGet"
	public explicit_return_type ""
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Retrieves the specified item from the cache or NULL if the key is not found (\\ArrayAccess implementation)."
      end

      operation 244735 "offsetExists"
	public explicit_return_type "bool"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Exists item in cache? (\\ArrayAccess implementation)."
      end

      operation 244863 "offsetUnset"
	public explicit_return_type "void"
	nparams 1
	  param in name "$key" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Removes the specified item from the cache."
      end

      operation 244991 "release"
	public explicit_return_type "void"
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Discards the internal cache used by ArrayAccess."
      end

      operation 245119 "checkCallbacks"
	class_operation public explicit_return_type "bool"
	nparams 1
	  param in name "$callbacks" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks CALLBACKS dependencies."
      end

      operation 245247 "checkConst"
	class_operation private explicit_return_type "bool"
	nparams 2
	  param in name "$const" explicit_type "mixed"
	  param in name "$value" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks CONSTS dependency."
      end

      operation 245375 "checkFile"
	class_operation private explicit_return_type "bool"
	nparams 2
	  param in name "$file" explicit_type "mixed"
	  param in name "$time" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks FILES dependency."
      end

      operation 245503 "checkSerializationVersion"
	class_operation private explicit_return_type "bool"
	nparams 2
	  param in name "$class" explicit_type "mixed"
	  param in name "$value" explicit_type "mixed"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Checks object @serializationVersion label."
      end
    end
  end

  package_ref 131583 // Storages
end
