TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController:
TYPO3\CMS\Frontend\Plugin\AbstractPlugin

Public Member Functions

 renderImageAttributes ($content='', $conf)
 
- Public Member Functions inherited from TYPO3\CMS\Frontend\Plugin\AbstractPlugin
 pi_setPiVarDefaults ()
 
 pi_getPageLink ($id, $target='', $urlParameters=array())
 
 pi_linkToPage ($str, $id, $target='', $urlParameters=array())
 
 pi_linkTP ($str, $urlParameters=array(), $cache=0, $altPageId=0)
 
 pi_linkTP_keepPIvars ($str, $overrulePIvars=array(), $cache=0, $clearAnyway=0, $altPageId=0)
 
 pi_linkTP_keepPIvars_url ($overrulePIvars=array(), $cache=0, $clearAnyway=0, $altPageId=0)
 
 pi_list_linkSingle ($str, $uid, $cache=FALSE, $mergeArr=array(), $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=array(), $pointerName='pointer', $hscText=TRUE, $forceOutput=FALSE)
 
 pi_list_searchBox ($tableParams='')
 
 pi_list_modeSelector ($items=array(), $tableParams='')
 
 pi_list_makelist ($res, $tableParams='')
 
 pi_list_row ($c)
 
 pi_list_header ()
 
 pi_getClassName ($class)
 
 pi_classParam ($class, $addClasses='')
 
 pi_wrapInBaseClass ($str)
 
 pi_getEditPanel ($row='', $tablename='', $label='', $conf=array())
 
 pi_getEditIcon ($content, $fields, $title='', $row='', $tablename='', $oConf=array())
 
 pi_getLL ($key, $alternativeLabel='', $hsc=FALSE)
 
 pi_loadLL ()
 
 pi_exec_query ($table, $count=0, $addWhere='', $mm_cat='', $groupBy='', $orderBy='', $query='')
 
 pi_getRecord ($table, $uid, $checkPage=0)
 
 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 = array()
 
 $cObj
 
- Public Attributes inherited from TYPO3\CMS\Frontend\Plugin\AbstractPlugin
 $cObj
 
 $prefixId
 
 $scriptRelPath
 
 $extKey
 
 $piVars
 
 $internal = array('res_count' => 0, 'results_at_a_time' => 20, 'maxPages' => 10, 'currentRow' => array(), 'currentTable' => '')
 
 $LOCAL_LANG = array()
 
 $LOCAL_LANG_charset = array()
 
 $LOCAL_LANG_loaded = 0
 
 $LLkey = 'default'
 
 $altLLkey = ''
 
 $LLtestPrefix = ''
 
 $LLtestPrefixAlt = ''
 
 $pi_isOnlyFields = 'mode,pointer'
 
 $pi_alwaysPrev = 0
 
 $pi_lowerThan = 5
 
 $pi_moreParams = ''
 
 $pi_listFields = '*'
 
 $pi_autoCacheFields = array()
 
 $pi_autoCacheEn = 0
 
 $pi_USER_INT_obj = FALSE
 
 $pi_checkCHash = FALSE
 
 $conf = array()
 
 $pi_EPtemp_cObj
 
 $pi_tmpPageId = 0
 

Protected Member Functions

 getImageAttributes ()
 
 isExternalImage ()
 
 getFrontendObject ()
 
- Protected Member Functions inherited from TYPO3\CMS\Frontend\Plugin\AbstractPlugin
 applyStdWrapRecursive (array $conf, $level=0)
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Frontend\Plugin\AbstractPlugin
 $LOCAL_LANG_UNSET = array()
 

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

◆ getFrontendObject()

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::getFrontendObject ( )
protected

Returns an instance of the Frontend object.

Returns

Definition at line 159 of file ImageRenderingController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\getImageAttributes().

◆ getImageAttributes()

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::getImageAttributes ( )
protected

◆ isExternalImage()

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::isExternalImage ( )
protected

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

Returns
bool

Definition at line 138 of file ImageRenderingController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\renderImageAttributes().

◆ renderImageAttributes()

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::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 TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\getImageAttributes(), TYPO3\CMS\Core\Utility\GeneralUtility\implodeAttributes(), and TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\isExternalImage().

Member Data Documentation

◆ $cObj

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::$cObj

Definition at line 58 of file ImageRenderingController.php.

◆ $conf

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::$conf = array()

Definition at line 51 of file ImageRenderingController.php.

◆ $extKey

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::$extKey = 'rtehtmlarea'

Definition at line 44 of file ImageRenderingController.php.

◆ $prefixId

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::$prefixId = 'ImageRenderingController'

Definition at line 30 of file ImageRenderingController.php.

◆ $scriptRelPath

TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController::$scriptRelPath = 'Classes/Controller/ImageRenderingController.php'

Definition at line 37 of file ImageRenderingController.php.