TYPO3
7.6
|
Public Member Functions | |
render_bullets ($content, $conf) | |
render_table ($content, $conf) | |
render_uploads ($content, $conf) | |
renderSpace ($content, array $configuration) | |
getTableAttributes ($conf, $type) | |
hookRequest ($functionName) | |
Public Member Functions inherited from AbstractPlugin | |
pi_setPiVarDefaults () | |
pi_getPageLink ($id, $target= '', $urlParameters=array()) | |
pi_linkToPage ($str, $id, $target= '', $urlParameters=array()) | |
pi_linkTP ($str, $urlParameters=array(), $cache=false, $altPageId=0) | |
pi_linkTP_keepPIvars ($str, $overrulePIvars=array(), $cache=false, $clearAnyway=false, $altPageId=0) | |
pi_linkTP_keepPIvars_url ($overrulePIvars=array(), $cache=false, $clearAnyway=false, $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=array(), $tablename= '', $label= '', $conf=array()) | |
pi_getEditIcon ($content, $fields, $title= '', $row=array(), $tablename= '', $oConf=array()) | |
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 = 'tx_cssstyledcontent_pi1' | |
$scriptRelPath = 'Classes/Controller/CssStyledContentController.php' | |
$extKey = 'css_styled_content' | |
$conf = array() | |
Public Attributes inherited from 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 | |
getImgColumnRelations ($conf, $colCount) | |
getImgColumnWidths ($conf, $colCount, $netW) | |
initializeCurrentFileInContentObjectRenderer ($fileUid, $treatAsReference) | |
beautifyFileLink (array $links, $fileName, $useSpaces=false, $cutFileExtension=false) | |
addPageStyle ($selector, $declaration) | |
getResourceFactory () | |
Protected Member Functions inherited from AbstractPlugin | |
applyStdWrapRecursive (array $conf, $level=0) | |
Additional Inherited Members | |
Protected Attributes inherited from AbstractPlugin | |
$LOCAL_LANG_UNSET = array() | |
$frontendController | |
$databaseConnection | |
Plugin class - instantiated from TypoScript. Rendering some content elements from tt_content table.
Definition at line 24 of file CssStyledContentController.php.
|
protected |
Add a style to the page, specific for this page
The selector can be a contextual selector, like '#id .class p' The presence of the selector is checked to avoid multiple entries of the same selector.
string | $selector | The selector |
string | $declaration | The declaration |
Definition at line 1258 of file CssStyledContentController.php.
Referenced by CssStyledContentController\getTableAttributes(), and CssStyledContentController\renderSpace().
|
protected |
Returns a link text string which replaces underscores in filename with blanks.
Has the possibility to cut off FileType.
array | $links | |
string | $fileName | |
bool | $useSpaces | |
bool | $cutFileExtension |
Definition at line 1170 of file CssStyledContentController.php.
References GeneralUtility\logDeprecatedFunction().
Referenced by CssStyledContentController\render_uploads().
|
protected |
Returns an array containing width relations for $colCount columns.
Tries to use "colRelations" setting given by TS. uses "1:1" column relations by default.
array | $conf | TS configuration for img |
int | $colCount | number of columns |
Definition at line 380 of file CssStyledContentController.php.
References CssStyledContentController\$conf, and GeneralUtility\devLog().
Referenced by CssStyledContentController\getImgColumnWidths().
|
protected |
Returns an array containing the image widths for an image row with $colCount columns.
array | $conf | TS configuration of img |
int | $colCount | number of columns |
int | $netW | max usable width for images (without spaces and borders) |
Definition at line 424 of file CssStyledContentController.php.
References CssStyledContentController\$conf, and CssStyledContentController\getImgColumnRelations().
|
protected |
getTableAttributes | ( | $conf, | |
$type | |||
) |
Returns table attributes for uploads / tables.
array | $conf | TypoScript configuration array |
int | $type | The "layout" type |
Definition at line 1192 of file CssStyledContentController.php.
References CssStyledContentController\$conf, CssStyledContentController\addPageStyle(), and AbstractPlugin\pi_getFFvalue().
Referenced by CssStyledContentController\render_uploads().
hookRequest | ( | $functionName | ) |
Returns an object reference to the hook object if any
string | $functionName | Name of the function you want to call / hook key |
Definition at line 1274 of file CssStyledContentController.php.
References $GLOBALS, and GeneralUtility\getUserObj().
Referenced by CssStyledContentController\render_bullets(), CssStyledContentController\render_table(), CssStyledContentController\render_uploads(), and CssStyledContentController\renderSpace().
|
protected |
Loads the file / file reference object and sets it in the currentFile property of the ContentObjectRenderer.
This makes the file data available during image rendering.
int | $fileUid | The UID of the file or file reference (depending on $treatAsReference) that should be loaded. |
bool | $treatAsReference | If TRUE the given UID will be used to load a file reference otherwise it will be used to load a regular file. |
Definition at line 1100 of file CssStyledContentController.php.
render_bullets | ( | $content, | |
$conf | |||
) |
Rendering the "Bulletlist" type content element, called from TypoScript (tt_content.bullets.20)
string | $content | Content input. Not used, ignore. |
array | $conf | TypoScript configuration |
Definition at line 64 of file CssStyledContentController.php.
References CssStyledContentController\$conf, CssStyledContentController\hookRequest(), GeneralUtility\logDeprecatedFunction(), and GeneralUtility\trimExplode().
render_table | ( | $content, | |
$conf | |||
) |
Rendering the "Table" type content element, called from TypoScript (tt_content.table.20)
string | $content | Content input. Not used, ignore. |
array | $conf | TypoScript configuration |
Definition at line 101 of file CssStyledContentController.php.
References CssStyledContentController\$conf, elseif, CssStyledContentController\hookRequest(), GeneralUtility\implodeAttributes(), AbstractPlugin\pi_getFFvalue(), AbstractPlugin\pi_initPIflexForm(), and GeneralUtility\trimExplode().
render_uploads | ( | $content, | |
$conf | |||
) |
Rendering the "Filelinks" type content element, called from TypoScript (tt_content.uploads.20)
string | $content | Content input. Not used, ignore. |
array | $conf | TypoScript configuration |
Definition at line 227 of file CssStyledContentController.php.
References CssStyledContentController\$conf, $GLOBALS, CssStyledContentController\beautifyFileLink(), GeneralUtility\getFileAbsFileName(), CssStyledContentController\getTableAttributes(), CssStyledContentController\hookRequest(), GeneralUtility\implodeAttributes(), GeneralUtility\isFirstPartOfStr(), GeneralUtility\logDeprecatedFunction(), AbstractPlugin\pi_getLL(), GeneralUtility\resolveBackPath(), and GeneralUtility\trimExplode().
renderSpace | ( | $content, | |
array | $configuration | ||
) |
Add top or bottom margin to the content element
Constructs and adds a class to the content element. This class selector and its declaration are added to the specific page styles.
string | $content | Content input. Not used, ignore. |
array | $configuration | TypoScript configuration |
Definition at line 1125 of file CssStyledContentController.php.
References CssStyledContentController\addPageStyle(), and CssStyledContentController\hookRequest().
$conf = array() |
Definition at line 50 of file CssStyledContentController.php.
Referenced by CssStyledContentController\getImgColumnRelations(), CssStyledContentController\getImgColumnWidths(), CssStyledContentController\getTableAttributes(), CssStyledContentController\render_bullets(), CssStyledContentController\render_table(), and CssStyledContentController\render_uploads().
$extKey = 'css_styled_content' |
Definition at line 45 of file CssStyledContentController.php.
$prefixId = 'tx_cssstyledcontent_pi1' |
Definition at line 31 of file CssStyledContentController.php.
$scriptRelPath = 'Classes/Controller/CssStyledContentController.php' |
Definition at line 38 of file CssStyledContentController.php.