Sha256: 67330ea95c51c2749ef340fee54ceca1ae8be0fa425c17655d8a7516a2d1571c

Contents?: true

Size: 1.4 KB

Versions: 5

Compression:

Stored size: 1.4 KB

Contents

/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for 
 * full list of contributors). Published under the Clear BSD license.  
 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
 * full text of the license. */

/**
 * @requires OpenLayers/Filter.js
 */

/**
 * Class: OpenLayers.Filter.Function
 * This class represents a filter function.
 * We are using this class for creation of complex 
 * filters that can contain filter functions as values.
 * Nesting function as other functions parameter is supported.
 * 
 * Inherits from
 * - <OpenLayers.Filter>
 */
OpenLayers.Filter.Function = OpenLayers.Class(OpenLayers.Filter, {

    /**
     * APIProperty: name
     * {String} Name of the function.
     */
    name: null,
    
    /**
     * APIProperty: params
     * {Array(<OpenLayers.Filter.Function> || String || Number)} Function parameters
     * For now support only other Functions, String or Number
     */
    params: null,  
    
    /** 
     * Constructor: OpenLayers.Filter.Function
     * Creates a filter function.
     *
     * Parameters:
     * options - {Object} An optional object with properties to set on the
     *     function.
     * 
     * Returns:
     * {<OpenLayers.Filter.Function>}
     */
    initialize: function(options) {
        OpenLayers.Filter.prototype.initialize.apply(this, [options]);
    },

    CLASS_NAME: "OpenLayers.Filter.Function"
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/lib/OpenLayers/Filter/Function.js
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/lib/OpenLayers/Filter/Function.js
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/lib/OpenLayers/Filter/Function.js
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/lib/OpenLayers/Filter/Function.js
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/lib/OpenLayers/Filter/Function.js