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

Class: Dimension

Source Location: /common/BasicTypes.php

Class Overview

Serializable
   |
   --Dimension

Represents an image's dimension


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

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 34]
Represents an image's dimension



Tags:

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


[ Top ]


Class Variables

$height =

[line 46]

Height of the image



Tags:

access:  public

Type:   int


[ Top ]

$width =

[line 40]

Width of the image



Tags:

access:  public

Type:   int


[ Top ]



Class Methods


constructor __construct [line 53]

Dimension __construct( [int $width = 0], [int $height = 0])

Constructor



Tags:

access:  public


Overrides Serializable::__construct() (Constructor)

Parameters:

int   $width  
int   $height  

[ Top ]

method unserialize [line 62]

void unserialize( mixed $struct)



Tags:

access:  public
see:  Serializable::unserialize()


Overrides Serializable::unserialize() (Unserializes from a stdClass structure)

[ Top ]


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