Plugins

# Class: GeostatChoropleth Source Location: /plugins/geostat/common/Geostat.php
### Class Overview
    CwSerializable
       |
       --GeostatChoropleth
Geostat Choropleth Parameters Class | ### Variables $bbox $bounds $classificationMethod $colorInit $colorLutMethod $colors $indicator $labels $layer $nbBins | ### Methods unserialize
### Inherited Variables #### Class: CwSerializable CwSerializable::$className | ### Inherited Methods #### Class: CwSerializable CwSerializable::__construct() Constructor CwSerializable::copyAllVars() Copy all properties from one object to another (overwriting previous ones) CwSerializable::getValue() Returns structure's property value if property exists CwSerializable::guessClassName() Tries to guess the class to use from the property being unserialised. CwSerializable::unserialize() Unserializes from a stdClass structure CwSerializable::unserializeArray() Returns an array of typed values CwSerializable::unserializeObject() Returns an unserialized object from a stdClass structure CwSerializable::unserializeObjectMap() Returns an array of unserialized objects from a stdClass structure CwSerializable::unserializeStringArray() Returns an array of typed values from a string CwSerializable::unserializeValue() Returns a typed value from a structure property
### Class Details [line 70] Geostat Choropleth Parameters Class [ Top ] ### Class Variables #### $bbox = [line 84] #### Tags:
var: | Bounding box of choropleth dataset
access: | public
Type: | Bbox
[ Top ] #### $bounds = array() [line 101] #### Tags:
var: | Array of bounds for classification This is use with $classificationMethod = 0 (Custom)
access: | public
Type: | numeric[]
[ Top ] #### $classificationMethod = Distribution::CLASSIFY_BY_EQUAL_INTERVALS [line 90] #### Tags:
var: | Classification Method. Use const defined in Distribution class from themamp
access: | public
Type: | int
[ Top ] #### $colorInit = array() [line 119] #### Tags:
var: | Array of 2 colors. They are needed to initialize colors generation.
access: | public
Type: | TwColor[]
[ Top ] #### $colorLutMethod = ColorLut::METHOD_HSV_INTERPOLATION [line 113] #### Tags:
var: | Method to use for create colors. Use const defined in ColorLut class from themamap.
access: | public
Type: | int
[ Top ] #### $colors = array() [line 124] #### Tags:
var: | Array of colors
access: | public
Type: | TwColor[]
[ Top ] #### $indicator = [line 79] #### Tags:
var: | Attribute to use as indicator
access: | public
Type: | string
[ Top ] #### $labels = array() [line 107] #### Tags:
var: | Array of labels for classes Changing labels is not supported yet !
access: | public
Type: | mixed[]
[ Top ] #### $layer = [line 74] #### Tags:
var: | Layer used for choropleth
access: | public
Type: | string
[ Top ] #### $nbBins = NULL [line 95] #### Tags:
var: | Number of bins (classes)
access: | public
Type: | int
[ Top ] ### Class Methods ### method unserialize [line 129]
`void unserialize( mixed $struct)`
#### Tags:
access: | public
see: | CwSerializable::unserialize()
Overrides CwSerializable::unserialize() (Unserializes from a stdClass structure) [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:47 +0200 by phpDocumentor 1.3.0RC3