SC_t3lib_thumbs Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 errorGif ($l1, $l2, $l3)
 fontGif ($font)
 wrapFileName ($inputName)
 init ()
 main ()
 errorGif ($l1, $l2, $l3)
 fontGif ($font)
 wrapFileName ($inputName)
 init ()
 main ()
 errorGif ($l1, $l2, $l3)
 fontGif ($font)
 wrapFileName ($inputName)

Public Attributes

 $include_once = array()
 $outdir = 'typo3temp/'
 $output = ''
 $sizeDefault = '56x56'
 $imageList
 $input
 $file
 $size

Detailed Description

Definition at line 114 of file thumbs.php.


Member Function Documentation

SC_t3lib_thumbs::errorGif l1,
l2,
l3
 

Creates error image based on gfx/notfound_thumb.png Requires GD lib enabled, otherwise it will exit with the three textstrings outputted as text. Outputs the image stream to browser and exits!

Parameters:
string Text line 1
string Text line 2
string Text line 3
Returns:
void

Definition at line 267 of file thumbs.php.

References $TYPO3_CONF_VARS, and exit.

SC_t3lib_thumbs::errorGif l1,
l2,
l3
 

Creates error image based on gfx/notfound_thumb.png Requires GD lib enabled, otherwise it will exit with the three textstrings outputted as text. Outputs the image stream to browser and exits!

Parameters:
string Text line 1
string Text line 2
string Text line 3
Returns:
void

Definition at line 267 of file thumbs.php.

References $TYPO3_CONF_VARS, and exit.

SC_t3lib_thumbs::errorGif l1,
l2,
l3
 

Creates error image based on gfx/notfound_thumb.png Requires GD lib enabled, otherwise it will exit with the three textstrings outputted as text. Outputs the image stream to browser and exits!

Parameters:
string Text line 1
string Text line 2
string Text line 3
Returns:
void

Definition at line 267 of file thumbs.php.

References $TYPO3_CONF_VARS, and exit.

SC_t3lib_thumbs::fontGif font  ) 
 

Creates a font-preview thumbnail. This means a PNG/GIF file with the text "AaBbCc...." set with the font-file given as input and in various sizes to show how the font looks Requires GD lib enabled. Outputs the image stream to browser and exits!

Parameters:
string The filepath to the font file (absolute, probably)
Returns:
void

Definition at line 319 of file thumbs.php.

References $col, $TYPO3_CONF_VARS, exit, and t3lib_div::freetypeDpiComp().

SC_t3lib_thumbs::fontGif font  ) 
 

Creates a font-preview thumbnail. This means a PNG/GIF file with the text "AaBbCc...." set with the font-file given as input and in various sizes to show how the font looks Requires GD lib enabled. Outputs the image stream to browser and exits!

Parameters:
string The filepath to the font file (absolute, probably)
Returns:
void

Definition at line 319 of file thumbs.php.

References $col, $TYPO3_CONF_VARS, exit, and t3lib_div::freetypeDpiComp().

SC_t3lib_thumbs::fontGif font  ) 
 

Creates a font-preview thumbnail. This means a PNG/GIF file with the text "AaBbCc...." set with the font-file given as input and in various sizes to show how the font looks Requires GD lib enabled. Outputs the image stream to browser and exits!

Parameters:
string The filepath to the font file (absolute, probably)
Returns:
void

Definition at line 319 of file thumbs.php.

References $col, $TYPO3_CONF_VARS, exit, and t3lib_div::freetypeDpiComp().

SC_t3lib_thumbs::init  ) 
 

Initialize; reading parameters with GPvar and checking file path Results in internal var, $this->input, being set to the absolute path of the file for which to make the thumbnail.

Returns:
void

Definition at line 135 of file thumbs.php.

SC_t3lib_thumbs::init  ) 
 

Initialize; reading parameters with GPvar and checking file path Results in internal var, $this->input, being set to the absolute path of the file for which to make the thumbnail.

Returns:
void

Definition at line 135 of file thumbs.php.

SC_t3lib_thumbs::init  ) 
 

Initialize; reading parameters with GPvar and checking file path Results in internal var, $this->input, being set to the absolute path of the file for which to make the thumbnail.

Returns:
void

Definition at line 135 of file thumbs.php.

SC_t3lib_thumbs::main  ) 
 

Create the thumbnail Will exit before return if all is well.

Returns:
void

Definition at line 165 of file thumbs.php.

References $fd, $TYPO3_CONF_VARS, exit, t3lib_div::imageMagickCommand(), t3lib_div::inList(), and t3lib_div::intInRange().

SC_t3lib_thumbs::main  ) 
 

Create the thumbnail Will exit before return if all is well.

Returns:
void

Definition at line 165 of file thumbs.php.

References $fd, $TYPO3_CONF_VARS, exit, t3lib_div::imageMagickCommand(), t3lib_div::inList(), and t3lib_div::intInRange().

SC_t3lib_thumbs::main  ) 
 

Create the thumbnail Will exit before return if all is well.

Returns:
void

Definition at line 165 of file thumbs.php.

References $fd, $TYPO3_CONF_VARS, exit, t3lib_div::imageMagickCommand(), t3lib_div::inList(), and t3lib_div::intInRange().

SC_t3lib_thumbs::wrapFileName inputName  ) 
 

Wrapping the input filename in double-quotes

Parameters:
string Input filename
Returns:
string The output wrapped in "" (if there are spaces in the filepath) private

Definition at line 366 of file thumbs.php.

SC_t3lib_thumbs::wrapFileName inputName  ) 
 

Wrapping the input filename in double-quotes

Parameters:
string Input filename
Returns:
string The output wrapped in "" (if there are spaces in the filepath) private

Definition at line 366 of file thumbs.php.

SC_t3lib_thumbs::wrapFileName inputName  ) 
 

Wrapping the input filename in double-quotes

Parameters:
string Input filename
Returns:
string The output wrapped in "" (if there are spaces in the filepath) private

Definition at line 366 of file thumbs.php.


Member Data Documentation

SC_t3lib_thumbs::$file
 

Definition at line 125 of file thumbs.php.

SC_t3lib_thumbs::$imageList
 

Definition at line 121 of file thumbs.php.

SC_t3lib_thumbs::$include_once = array()
 

Definition at line 115 of file thumbs.php.

SC_t3lib_thumbs::$input
 

Definition at line 122 of file thumbs.php.

SC_t3lib_thumbs::$outdir = 'typo3temp/'
 

Definition at line 117 of file thumbs.php.

SC_t3lib_thumbs::$output = ''
 

Definition at line 118 of file thumbs.php.

SC_t3lib_thumbs::$size
 

Definition at line 126 of file thumbs.php.

SC_t3lib_thumbs::$sizeDefault = '56x56'
 

Definition at line 119 of file thumbs.php.


The documentation for this class was generated from the following files:
Generated on Wed Aug 10 07:57:23 2005 for TYPO3 3.8.0 by  doxygen 1.4.3-20050530