| Sgss_Imagen_Image_File |
|
$_attrs
Attributes of this image |
|
$_binary
Binary content of this image |
|
$_format
Format of this image |
|
__construct (string $binary, int $format, [array $attrs = array()])
The constructor |
mixed|null |
getAttr (scalar $name)
Returns the value of the specified attribute name of this image |
array |
getAttrs ()
Returns all the attributes of this image as an associated array |
string |
getBinary ()
Returns the binary content of this image |
int |
getFormat ()
|
string |
__toString ()
|
Attributes of this image
protected array $_attrs
Binary content of this image
protected string $_binary
Format of this image
protected int $_format
The constructor
string $binary
Binary content of the image
int $format
Format of the image
array $attrs
Attributes of the image
The constructor
public __construct (string $binary, int $format, [array $attrs = array()])
Returns the value of the specified attribute name of this image
scalar $name
Attribute name of the value to be retrieved
public mixed|null getAttr (scalar $name)
Returns all the attributes of this image as an associated array
public array getAttrs ()
Returns the binary content of this image
Returns the binary content of this image
public string &getBinary ()
public int getFormat ()
public string __toString ()