Common

# Class: Layer Source Location: /coreplugins/layers/common/Layers.php
### Class Overview
    CwSerializable
       |
       --LayerBase
          |
          --LayerContainer
             |
             --Layer
Layer linked to a MapServer layer | ### Variables $msLayer $transparency | ### Methods unserialize
### Inherited Variables #### Class: LayerContainer LayerContainer::$children LayerContainer::$layerIds #### Class: LayerBase LayerBase::$icon LayerBase::$id LayerBase::$label LayerBase::$link LayerBase::$maxScale LayerBase::$metadata LayerBase::$metaHash LayerBase::$minScale #### Class: CwSerializable CwSerializable::$className | ### Inherited Methods #### Class: LayerContainer LayerContainer::getChildren() Returns children depending on current switch LayerContainer::setChildren() Sets children given an array of layerIds LayerContainer::unserialize() #### Class: LayerBase LayerBase::generateMetaHash() Fills the $metaHash property from the metadata values in metadata field LayerBase::getAllMetadata() Returns an associative array of all metadata variables containted in this layer. LayerBase::getMetadata() Returns a metadata valued from its key, or null if it does not exists. LayerBase::unserialize() #### 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 302] Layer linked to a MapServer layer [ Top ] ### Class Variables #### $msLayer = [line 308] MapServer layer #### Tags:
access: | public
Type: | string
[ Top ] #### $transparency = [line 313] #### Tags:
access: | public
Type: | string
[ Top ] ### Class Methods ### method unserialize [line 318]
`void unserialize( mixed $struct)`
#### Tags:
access: | public
see: | CwSerializable::unserialize()
Overrides LayerContainer::unserialize() (parent method not documented) [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:50 +0200 by phpDocumentor 1.3.0RC3