Class Image

Description

TAM AG CMS

  • author: DevilDev

Located in /image/Image.php (line 11)

Modules
   |
   --Image
Variable Summary
static mixed $IMAGE_PATH
static Image $_instance
Method Summary
static Image getInstance ()
static void setImagePath ( $path)
void createThrumb ( $img,  $width,  $height)
void delTree ( $dir)
void findFiles ()
void loadEditor ()
void loadLines ([ $dir = null], [ $files = array()])
void removeThrumb ( $img, [ $width = 100])
void uploadFile ( $file, [ $path = null])
Variables
static mixed $IMAGE_PATH = IMAGE_PATH (line 20)
  • access: public
static Image $_instance = null (line 19)

Singleton instance

  • access: protected
Methods
static method getInstance (line 30)

Returns an instance of Image

Singleton pattern implementation

  • return: Provides a fluent interface
  • access: public
static Image getInstance ()
static method setImagePath (line 37)
  • access: public
static void setImagePath ( $path)
  • $path
createThrumb (line 150)
  • access: public
void createThrumb ( $img,  $width,  $height)
  • $img
  • $width
  • $height
delTree (line 42)
  • access: public
void delTree ( $dir)
  • $dir
findFiles (line 272)
  • access: public
void findFiles ()
loadEditor (line 54)
  • access: public
void loadEditor ()
loadLines (line 80)
  • access: public
void loadLines ([ $dir = null], [ $files = array()])
  • $dir
  • $files
removeThrumb (line 184)
  • access: public
void removeThrumb ( $img, [ $width = 100])
  • $img
  • $width
uploadFile (line 194)
  • access: public
void uploadFile ( $file, [ $path = null])
  • $file
  • $path

Documentation generated on Fri, 19 Aug 2016 17:10:31 +0200 by phpDocumentor 1.4.3