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

Class: Dimension

Source Location: /common/BasicTypes.php

Class Overview

CwSerializable
   |
   --Dimension

Represents an image's dimension


Author(s):

Variables

Methods


Inherited Variables

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 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 CwSerializable::__construct() (Constructor)

Parameters:

int   $width  
int   $height  

[ Top ]

method unserialize [line 62]

void unserialize( mixed $struct)



Tags:

access:  public
see:  CwSerializable::unserialize()


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

[ Top ]


Documentation generated on Wed, 30 Aug 2006 21:56:43 +0200 by phpDocumentor 1.3.0RC3