TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ImageRenderingController Class Reference
Inheritance diagram for ImageRenderingController:
AbstractPlugin

Public Member Functions

 renderImageAttributes ($content= '', $conf)
 
- Public Member Functions inherited from AbstractPlugin
 pi_setPiVarDefaults ()
 
 pi_getPageLink ($id, $target= '', $urlParameters=[])
 
 pi_linkToPage ($str, $id, $target= '', $urlParameters=[])
 
 pi_linkTP ($str, $urlParameters=[], $cache=false, $altPageId=0)
 
 pi_linkTP_keepPIvars ($str, $overrulePIvars=[], $cache=false, $clearAnyway=false, $altPageId=0)
 
 pi_linkTP_keepPIvars_url ($overrulePIvars=[], $cache=false, $clearAnyway=false, $altPageId=0)
 
 pi_list_linkSingle ($str, $uid, $cache=false, $mergeArr=[], $urlOnly=false, $altPageId=0)
 
 pi_openAtagHrefInJSwindow ($str, $winName= '', $winParams= 'width=670, height=500, status=0, menubar=0, scrollbars=1, resizable=1')
 
 pi_list_browseresults ($showResultCount=1, $tableParams= '', $wrapArr=[], $pointerName= 'pointer', $hscText=true, $forceOutput=false)
 
 pi_list_modeSelector ($items=[], $tableParams= '')
 
 pi_list_makelist ($statement, $tableParams= '')
 
 pi_list_row ($c)
 
 pi_list_header ()
 
 pi_getClassName ($class)
 
 pi_classParam ($class, $addClasses= '')
 
 pi_wrapInBaseClass ($str)
 
 pi_getEditPanel ($row=[], $tablename= '', $label= '', $conf=[])
 
 pi_getEditIcon ($content, $fields, $title= '', $row=[], $tablename= '', $oConf=[])
 
 pi_getLL ($key, $alternativeLabel= '', $hsc=false)
 
 pi_exec_query ($table, $count=false, $addWhere= '', $mm_cat= '', $groupBy= '', $orderBy= '', $query= '')
 
 pi_getRecord ($table, $uid, $checkPage=false)
 
 pi_getPidList ($pid_list, $recursive=0)
 
 pi_prependFieldsWithTable ($table, $fieldList)
 
 pi_getCategoryTableContents ($table, $pid, $whereClause= '', $groupBy= '', $orderBy= '', $limit= '')
 
 pi_isOnlyFields ($fList, $lowerThan=-1)
 
 pi_autoCache ($inArray)
 
 pi_RTEcssText ($str)
 
 pi_initPIflexForm ($field= 'pi_flexform')
 
 pi_getFFvalue ($T3FlexForm_array, $fieldName, $sheet= 'sDEF', $lang= 'lDEF', $value= 'vDEF')
 
 pi_getFFvalueFromSheetArray ($sheetArray, $fieldNameArr, $value)
 

Public Attributes

 $prefixId = 'ImageRenderingController'
 
 $scriptRelPath = 'Classes/Controller/ImageRenderingController.php'
 
 $extKey = 'rtehtmlarea'
 
 $conf = []
 
 $cObj
 
- Public Attributes inherited from AbstractPlugin
 $cObj
 
 $prefixId
 
 $scriptRelPath
 
 $extKey
 
 $piVars
 
 $internal = ['res_count' => 0
 
 $LOCAL_LANG = []
 
 $LOCAL_LANG_loaded = false
 
 $LLkey = 'default'
 
 $altLLkey = ''
 
 $LLtestPrefix = ''
 
 $LLtestPrefixAlt = ''
 
 $pi_isOnlyFields = 'mode,pointer'
 
 $pi_alwaysPrev = 0
 
 $pi_lowerThan = 5
 
 $pi_moreParams = ''
 
 $pi_listFields = '*'
 
 $pi_autoCacheFields = []
 
 $pi_autoCacheEn = false
 
 $pi_USER_INT_obj = false
 
 $pi_checkCHash = false
 
 $conf = []
 
 $pi_EPtemp_cObj
 
 $pi_tmpPageId = 0
 

Protected Member Functions

 getImageAttributes ()
 
 isExternalImage ()
 
- Protected Member Functions inherited from AbstractPlugin
 applyStdWrapRecursive (array $conf, $level=0)
 

Additional Inherited Members

- Protected Attributes inherited from AbstractPlugin
 $LOCAL_LANG_UNSET = []
 
 $frontendController
 
 $databaseConnection
 

Detailed Description

Render the image attributes and reconstruct magic images, if necessary (and possible)

Definition at line 23 of file ImageRenderingController.php.

Member Function Documentation

getImageAttributes ( )
protected

Returns a sanitizes array of attributes out of $this->cObj

Returns
array

Definition at line 110 of file ImageRenderingController.php.

Referenced by ImageRenderingController\renderImageAttributes().

isExternalImage ( )
protected

Tells whether the image URL is found to be "external".

Returns
bool

Definition at line 140 of file ImageRenderingController.php.

Referenced by ImageRenderingController\renderImageAttributes().

renderImageAttributes (   $content = '',
  $conf 
)

Returns a processed image to be displayed on the Frontend.

Parameters
string$contentContent input (not used).
array$confTypoScript configuration
Returns
string HTML output

Definition at line 67 of file ImageRenderingController.php.

References ImageRenderingController\getImageAttributes(), GeneralUtility\implodeAttributes(), and ImageRenderingController\isExternalImage().

Member Data Documentation

$cObj

Definition at line 58 of file ImageRenderingController.php.

$conf = []

Definition at line 51 of file ImageRenderingController.php.

$extKey = 'rtehtmlarea'

Definition at line 44 of file ImageRenderingController.php.

$prefixId = 'ImageRenderingController'

Definition at line 30 of file ImageRenderingController.php.

$scriptRelPath = 'Classes/Controller/ImageRenderingController.php'

Definition at line 37 of file ImageRenderingController.php.