TYPO3
7.6
|
Public Member Functions | |
initialize () | |
main () | |
processRequest (ServerRequestInterface $request, ResponseInterface $response) | |
Protected Member Functions | |
processImage () | |
Protected Attributes | |
$request | |
$file | |
$width | |
$height | |
$frame | |
$bodyTag = '<body>' | |
$title = 'Image' | |
$content | |
$imageTag = '<img src="###publicUrl###" alt="###alt###" title="###title###" width="###width###" height="###height###" />' | |
eID-Script "tx_cms_showpic"
Shows a picture from FAL in enlarged format in a separate window. Picture file and settings is supplied by GET-parameters:
Definition at line 37 of file ShowImageController.php.
initialize | ( | ) |
Init function, setting the input vars in the global space.
\InvalidArgumentException | |
\TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException |
Definition at line 102 of file ShowImageController.php.
References MathUtility\canBeInterpretedAsInteger(), ResourceFactory\getInstance(), and GeneralUtility\hmac().
Referenced by ShowImageController\processRequest().
main | ( | ) |
Main function which creates the image if needed and outputs the HTML code for the page displaying the image. Accumulates the content in $this->content
Definition at line 142 of file ShowImageController.php.
References ShowImageController\$title, and ShowImageController\processImage().
Referenced by ShowImageController\processRequest().
|
protected |
Does the actual image processing
Definition at line 167 of file ShowImageController.php.
References MathUtility\forceIntegerInRange().
Referenced by ShowImageController\main().
processRequest | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Fetches the content and builds a content file out of it
ServerRequestInterface | $request | the current request object |
ResponseInterface | $response | the available response |
Definition at line 193 of file ShowImageController.php.
References ShowImageController\$request, $response, MessageInterface\getBody(), ShowImageController\initialize(), ShowImageController\main(), and ResponseInterface\withStatus().
|
protected |
Definition at line 67 of file ShowImageController.php.
|
protected |
Definition at line 77 of file ShowImageController.php.
|
protected |
Definition at line 47 of file ShowImageController.php.
|
protected |
Definition at line 62 of file ShowImageController.php.
|
protected |
Definition at line 57 of file ShowImageController.php.
|
protected |
Definition at line 93 of file ShowImageController.php.
|
protected |
Definition at line 42 of file ShowImageController.php.
Referenced by ShowImageController\processRequest().
|
protected |
Definition at line 72 of file ShowImageController.php.
Referenced by ShowImageController\main().
|
protected |
Definition at line 52 of file ShowImageController.php.