Method | Description | |
---|---|---|
__construct ( string $type = null ) | Constructs a new image object. |
Method | Description | |
---|---|---|
setType ( string $type ) | Sets the type of the image. Once the type is set, it may not be changed later. |
public __construct ( string $type = null ) | ||
$type | string | The type for the image, one of the IMAGE_ constants. |