CorePlugins

# Class: UserLayer Source Location: /coreplugins/layers/common/Layers.php
### Class Overview
    CwSerializable
       |
       --UserLayer
User Layer | ### Variables $action $layer $layerGroup | ### Constants ACTION_INSERT ACTION_REMOVE | ### 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 394] User Layer [ Top ] ### Class Variables #### $action = self::ACTION_INSERT [line 403] Action #### Tags:
access: | public
Type: | int
[ Top ] #### $layer = [line 408] #### Tags:
access: | public
Type: | Layer
[ Top ] #### $layerGroup = null [line 416] Id of the layergroup in which the layer is to be added (defined in server_conf/layers.ini). If null, uses the userLayerGroup directive defined in client_conf/layers.ini. #### Tags:
var: | LayerGroup
access: | public
Type: | string
[ Top ] ### Class Methods ### method unserialize [line 421]
`void unserialize( mixed $struct)`
#### Tags:
access: | public
see: | CwSerializable::unserialize()
Overrides CwSerializable::unserialize() (Unserializes from a stdClass structure) [ Top ] ### Class Constants #### ACTION_INSERT = 0 [line 396] [ Top ] #### ACTION_REMOVE = 1 [line 397] [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:51 +0200 by phpDocumentor 1.3.0RC3