TYPO3
7.6
|
Public Member Functions | |
__construct () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
main () | |
printContent () | |
tableWizard () | |
getTableHTML ($configuration) | |
changeFunc () | |
cfgArray2CfgString ($cfgArr) | |
cfgString2CfgArray ($configurationCode, $columns) | |
Public Attributes | |
$content | |
$inputStyle = false | |
$xmlStorage = 0 | |
$numNewRows = 1 | |
$colsFieldName = 'cols' | |
$P | |
$TABLECFG | |
$tableParsing_quote | |
$tableParsing_delimiter | |
Protected Member Functions | |
init () | |
getButtons () | |
Protected Member Functions inherited from AbstractWizardController | |
checkEditAccess ($table, $uid) | |
getBackendUserAuthentication () | |
getLanguageService () | |
getDocumentTemplate () | |
getDatabaseConnection () | |
Protected Attributes | |
$iconFactory | |
Script Class for rendering the Table Wizard
Definition at line 33 of file TableController.php.
__construct | ( | ) |
Constructor
Definition at line 110 of file TableController.php.
References $GLOBALS, AbstractWizardController\getLanguageService(), and TableController\init().
cfgArray2CfgString | ( | $cfgArr | ) |
Converts the input array to a configuration code string
array | $cfgArr | Array of table configuration (follows the input structure from the table wizard POST form) |
Definition at line 606 of file TableController.php.
References TableController\$tableParsing_quote.
cfgString2CfgArray | ( | $configurationCode, | |
$columns | |||
) |
Converts the input configuration code string into an array
string | $configurationCode | Configuration code |
int | $columns | Default number of columns |
Definition at line 630 of file TableController.php.
changeFunc | ( | ) |
Detects if a control button (up/down/around/delete) has been pressed for an item and accordingly it will manipulate the internal TABLECFG array
Definition at line 477 of file TableController.php.
References TableController\$numNewRows, StringUtility\beginsWith(), MathUtility\canBeInterpretedAsInteger(), and elseif.
|
protected |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 192 of file TableController.php.
References ButtonBar\BUTTON_POSITION_LEFT, AbstractWizardController\getLanguageService(), and Icon\SIZE_SMALL.
Referenced by TableController\main().
getTableHTML | ( | $configuration | ) |
Creates the HTML for the Table Wizard:
array | $configuration | Table config array |
Definition at line 362 of file TableController.php.
References TableController\$content, AbstractWizardController\getLanguageService(), and GeneralUtility\quoteJSvalue().
Referenced by TableController\tableWizard().
|
protected |
Initialization of the class
Definition at line 124 of file TableController.php.
References GeneralUtility\_GP(), MathUtility\forceIntegerInRange(), and GeneralUtility\getIndpEnv().
Referenced by TableController\__construct().
main | ( | ) |
Main function, rendering the table wizard
Definition at line 160 of file TableController.php.
References TableController\getButtons(), AbstractWizardController\getLanguageService(), and TableController\tableWizard().
Referenced by TableController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 148 of file TableController.php.
References $response, MessageInterface\getBody(), and TableController\main().
printContent | ( | ) |
Outputting the accumulated content to screen
Definition at line 183 of file TableController.php.
References TableController\$content, and GeneralUtility\logDeprecatedFunction().
tableWizard | ( | ) |
Draws the table wizard content
\RuntimeException |
Definition at line 246 of file TableController.php.
References TableController\$content, AbstractWizardController\checkEditAccess(), BackendUtility\getRecord(), and TableController\getTableHTML().
Referenced by TableController\main().
$colsFieldName = 'cols' |
Definition at line 71 of file TableController.php.
$content |
Definition at line 40 of file TableController.php.
Referenced by TableController\getTableHTML(), TableController\printContent(), and TableController\tableWizard().
|
protected |
Definition at line 105 of file TableController.php.
$inputStyle = false |
Definition at line 47 of file TableController.php.
$numNewRows = 1 |
Definition at line 63 of file TableController.php.
Referenced by TableController\changeFunc().
$P |
Definition at line 78 of file TableController.php.
$TABLECFG |
Definition at line 85 of file TableController.php.
$tableParsing_delimiter |
Definition at line 100 of file TableController.php.
$tableParsing_quote |
Definition at line 93 of file TableController.php.
Referenced by TableController\cfgArray2CfgString().
$xmlStorage = 0 |
Definition at line 56 of file TableController.php.