SC_t3lib_thumbs Klassenreferenz
Aufstellung aller Elemente
Öffentliche Methoden |
| | init () |
| | main () |
| | errorGif ($l1, $l2, $l3) |
| | fontGif ($font) |
Öffentliche Attribute |
|
| $include_once = array() |
|
| $outdir = 'typo3temp/' |
|
| $output = '' |
|
| $sizeDefault = '56x56' |
|
| $imageList |
|
| $input |
|
| $file |
|
| $size |
|
| $mtime = 0 |
Geschützte Methoden |
| | wrapFileName ($inputName) |
Dokumentation der Elementfunktionen
| 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!
- Parameter:
-
| string | Text line 1 |
| string | Text line 2 |
| string | Text line 3 |
- Rückgabe:
- void
| 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!
- Parameter:
-
| string | The filepath to the font file (absolute, probably) |
- Rückgabe:
- void
| 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.
- Rückgabe:
- void
| SC_t3lib_thumbs::main |
( |
|
) |
|
Create the thumbnail Will exit before return if all is well.
- Rückgabe:
- void
| SC_t3lib_thumbs::wrapFileName |
( |
$ |
inputName |
) |
[protected] |
Escapes a file name so it can safely be used on the command line.
- Parameter:
-
| string | $inputName filename to safeguard, must not be empty |
- Rückgabe:
- string $inputName escaped as needed
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/t3lib/thumbs.php