format 74
"Filters" // default::Grido::Components::Filters
  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 Grido (http://grido.bugyik.cz) 
Copyright (c) 2011 Petr Bugyík (http://petr.bugyik.cz) 
For the full copyright and license information, please view the file license.md that was distributed with this source code."
  classview 130175 "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 139007 "Number"
      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 "Number input filter."
      attribute 145407 "_condition"
	protected explicit_type "string"
	init_value "'/(<>|[<|>]=?)?([0-9,|.]+)/'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 184447 "getFormControl"
	protected explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 184575 "_makeFilter"
	protected explicit_return_type "array"
	nparams 2
	  param in name "$column" explicit_type "string"
	  param in name "$value" explicit_type "string"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 139135 "Text"
      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 "Text input filter."
      attribute 145535 "_suggestsCallback"
	public explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 145663 "_condition"
	protected explicit_type "string"
	init_value "'LIKE %s'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 145791 "_formatValue"
	protected explicit_type "string"
	init_value "'%%value%'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 184703 "setSuggestion"
	public return_type class_ref 139135 // Text
	nparams 1
	  param in name "$callback" explicit_type ""
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Allows suggestion."
      end

      operation 184831 "getFormControl"
	protected explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 139263 "Check"
      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 "Check box filter."
      attribute 145919 "TRUE"
	class_attribute const_attribute public explicit_type "string"
	init_value "'✓'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146047 "_condition"
	protected explicit_type "string"
	init_value "'IS NOT NULL'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146175 "_formatValue"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 184959 "getFormControl"
	protected explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 139391 "Filter"
      abstract 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 "Data filtering."
      classrelation 134399 // <generalisation>
	relation 134399 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 134399 // <generalisation>
	  b parent class_ref 138495 // Base
      end

      attribute 146303 "ID"
	class_attribute const_attribute public explicit_type "string"
	init_value "'filters'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146431 "TYPE_TEXT"
	class_attribute const_attribute public explicit_type "string"
	init_value "'Grido\\Components\\Filters\\Text'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146559 "TYPE_DATE"
	class_attribute const_attribute public explicit_type "string"
	init_value "'Grido\\Components\\Filters\\Date'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146687 "TYPE_CHECK"
	class_attribute const_attribute public explicit_type "string"
	init_value "'Grido\\Components\\Filters\\Check'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146815 "TYPE_SELECT"
	class_attribute const_attribute public explicit_type "string"
	init_value "'Grido\\Components\\Filters\\Select'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 146943 "TYPE_NUMBER"
	class_attribute const_attribute public explicit_type "string"
	init_value "'Grido\\Components\\Filters\\Number'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147071 "OPERATOR_AND"
	class_attribute const_attribute public explicit_type "string"
	init_value "'AND'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147199 "OPERATOR_OR"
	class_attribute const_attribute public explicit_type "string"
	init_value "'OR'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

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

      attribute 147455 "CONDITION_CUSTOM"
	class_attribute const_attribute public explicit_type "string"
	init_value "':condition-custom:'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147583 "CONDITION_CALLBACK"
	class_attribute const_attribute public explicit_type "string"
	init_value "':condition-callback:'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147711 "CONDITION_NOT_APPLY"
	class_attribute const_attribute public explicit_type "string"
	init_value "':not-apply:'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147839 "RENDER_INNER"
	class_attribute const_attribute public explicit_type "string"
	init_value "'inner'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 147967 "RENDER_OUTER"
	class_attribute const_attribute public explicit_type "string"
	init_value "'outer'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148095 "_optional"
	protected explicit_type "mixed"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148223 "_columns"
	protected 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 148351 "_condition"
	protected explicit_type "string"
	init_value "'= %s'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148479 "_formatValue"
	protected explicit_type "string"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148607 "_wrapperPrototype"
	protected explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148735 "_control"
	protected explicit_type ""
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 185087 "__construct"
	public explicit_return_type "void"
	nparams 4
	  param in name "$grid" type class_ref 137343 // Grid
	  param in name "$name" explicit_type "string"
	  param in name "$label" explicit_type "string"
	  param in name "$optional" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 185215 "setColumn"
	public return_type class_ref 139391 // Filter
	nparams 2
	  param in name "$column" explicit_type "string"
	  param in name "$operator" explicit_type "string"
	    defaultvalue "selfOPERATOR_AND"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Map to database column."
      end

      operation 185343 "setCondition"
	public return_type class_ref 139391 // Filter
	nparams 2
	  param in name "$condition" explicit_type "mixed"
	  param in name "$custom" explicit_type "mixed"
	    defaultvalue "NULL"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets custom sql condition."
      end

      operation 185471 "setFormatValue"
	public return_type class_ref 139391 // Filter
	nparams 1
	  param in name "$format" explicit_type "string"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets custom format value."
      end

      operation 185599 "setDefaultValue"
	public return_type class_ref 139391 // Filter
	nparams 1
	  param in name "$value" explicit_type "string"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Sets default value."
      end

      operation 185727 "getWrapperPrototype"
	public explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Returns wrapper prototype (<th> html tag)."
      end

      operation 185855 "_makeFilter"
	protected explicit_return_type "array"
	nparams 2
	  param in name "$column" explicit_type "string"
	  param in name "$value" explicit_type "string"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 185983 "formatValue"
	protected explicit_return_type "string"
	nparams 1
	  param in name "$value" explicit_type "string"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
	comment "Format value for database."
      end
    end

    class 139519 "Date"
      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 "Date input filter."
      classrelation 134527 // <generalisation>
	relation 134527 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 134527 // <generalisation>
	  b parent class_ref 139135 // Text
      end

      attribute 148863 "_condition"
	protected explicit_type "string"
	init_value "'LIKE %s'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      attribute 148991 "_formatValue"
	protected explicit_type "string"
	init_value "'%%value%'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 186111 "getFormControl"
	protected explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end

    class 139647 "Select"
      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 "Select box filter."
      classrelation 134655 // <generalisation>
	relation 134655 ---|>
	  a public
	    php "${type}"
	    classrelation_ref 134655 // <generalisation>
	  b parent class_ref 139391 // Filter
      end

      attribute 149119 "_condition"
	protected explicit_type "string"
	init_value "'= %s'"
	cpp_decl ""
	java_decl ""
	php_decl "  ${comment}${visibility}${const}${static}${var}${name}${value};
"
	python_decl ""
	idl_decl ""
      end

      operation 186239 "__construct"
	public explicit_return_type "void"
	nparams 4
	  param in name "$grid" type class_ref 137343 // Grid
	  param in name "$name" explicit_type "string"
	  param in name "$label" explicit_type "string"
	  param in name "$items" explicit_type "array"
	    defaultvalue "array()"
	
	
	php_def "  ${comment}${final}${visibility}${abstract}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end

      operation 186367 "getFormControl"
	protected explicit_return_type ""
	nparams 0
	
	
	php_def "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
{
  ${body}}
"
	
	
      end
    end
  end
end
