Common

# Class: Rectangle Source Location: /common/BasicTypes.php
### Class Overview
    CwSerializable
       |
       --Shape
          |
          --Bbox
             |
             --Rectangle
A rectangle #### Author(s): Sylvain Pasche <sylvain.pasche@camptocamp.com> | ### Methods unserialize
### Inherited Variables #### Class: Bbox Bbox::$maxx Bbox::$maxy Bbox::$minx Bbox::$miny #### Class: CwSerializable CwSerializable::$className | ### Inherited Methods #### Class: Bbox Bbox::__construct() Constructor Bbox::getArea() Bbox::getCenter() Bbox::getHeight() Computes Bbox height Bbox::getWidth() Computes Bbox width Bbox::roundParams() Returns the rounded values of an array of values to specified precision Bbox::setFrom2Points() Sets Bbox from two points Bbox::setFromBbox() Sets Bbox from min/max Bbox::setFromMsExtent() Sets Bbox from a Mapserver extent Bbox::setFromString() Converts a string to the Bbox (format "11, 22, 33, 44") Bbox::toRemoteString() Converts Bbox to a character-separated string to request remote layer Bbox::unserialize() Unserializes a Bbox Bbox::__toString() Converts Bbox to string for display #### Class: Shape Shape::getArea() Computes the shape's area Shape::getCenter() Computes the shape's center Shape::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 446] A rectangle #### Tags:
author: | Sylvain Pasche <sylvain.pasche@camptocamp.com>
[ Top ] ### Class Methods ### method unserialize [line 450]
`void unserialize( mixed $struct)`
#### Tags:
access: | public
see: | CwSerializable::unserialize()
Overrides Bbox::unserialize() (Unserializes a Bbox) [ Top ] Documentation generated on Fri, 21 Sep 2007 13:30:31 +0200 by phpDocumentor 1.3.0RC3