Common
[ class tree: Common ] [ index: Common ] [ all elements ]

Class: Rectangle

Source Location: /common/BasicTypes.php

Class Overview

Serializable
   |
   --Shape
      |
      --Bbox
         |
         --Rectangle

A rectangle


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Bbox

Bbox::__construct()
Constructor
Bbox::getArea()
Bbox::getCenter()
Bbox::getHeight()
Computes Bbox height
Bbox::getWidth()
Computes Bbox width
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::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: Serializable

Serializable::__construct()
Constructor
Serializable::copyAllVars()
Copy all properties from one object to another (overwriting previous ones)
Serializable::getValue()
Returns structure's property value if property exists
Serializable::guessClassName()
Tries to guess the class to use from the property being unserialised.
Serializable::unserialize()
Unserializes from a stdClass structure
Serializable::unserializeArray()
Returns an array of typed values
Serializable::unserializeObject()
Returns an unserialized object from a stdClass structure
Serializable::unserializeObjectMap()
Returns an array of unserialized objects from a stdClass structure
Serializable::unserializeStringArray()
Returns an array of typed values from a string
Serializable::unserializeValue()
Returns a typed value from a structure property

Class Details

[line 431]
A rectangle



Tags:

author:  Sylvain Pasche <sylvain.pasche@camptocamp.com>


[ Top ]


Class Methods


method unserialize [line 435]

void unserialize( mixed $struct)



Tags:

access:  public
see:  Serializable::unserialize()


Overrides Bbox::unserialize() (Unserializes a Bbox)

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:26 +0200 by phpDocumentor 1.3.0RC3