db
Image Class Reference

Inherits File.

Public Member Functions

 getWidth ()
 
 getHeight ()
 
 getType ()
 
- Public Member Functions inherited from File
 __construct ($path, $webURI=NULL)
 
 exists ()
 
 isDir ()
 
 isFile ()
 
 isLink ()
 
 lastModifiedDate ()
 
 createdDate ()
 
 getMineType ()
 
 getMimeType ()
 
 getFsPath ()
 
 getWebURI ()
 
 getDir ()
 
 getFileName ()
 
 getExtension ()
 
 getFileContent ()
 
 getFileSize ()
 
 getFileExtension ()
 
 delete ()
 
 write ($string)
 
 serialize ()
 
 unserialize ($serialized)
 

Static Public Member Functions

static isImage ($file)
 
- Static Public Member Functions inherited from File
static createFile ($path)
 
static getSafeFileName ($name)
 

Protected Member Functions

 initImageInfo ()
 

Protected Attributes

 $imageSize = NULL
 
 $imageInfo = NULL
 
- Protected Attributes inherited from File
 $mimeType
 
 $file
 
 $webURI
 

Additional Inherited Members

- Static Public Attributes inherited from File
static $fileInfo = NULL
 

Member Function Documentation

◆ getHeight()

getHeight ( )

◆ getType()

getType ( )
Returns
int typ obrazku IMAGETYPE_xxx z http://php.net/manual/en/image.constants.php

◆ getWidth()

getWidth ( )

◆ initImageInfo()

initImageInfo ( )
protected

provede inicializaci infomaci o obrazku

◆ isImage()

static isImage (   $file)
static
Parameters
string | File$filefile to test if is image
Returns
boolean

Member Data Documentation

◆ $imageInfo

$imageInfo = NULL
protected

◆ $imageSize

$imageSize = NULL
protected

The documentation for this class was generated from the following file: