![]() |
TYPO3
7.6
|
Public Member Functions | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManager $objectManager) | |
injectView (\TYPO3\CMS\Install\View\FailsafeView $view) | |
handle () | |
setToken ($token) | |
setController ($controller) | |
setAction ($action) | |
setPostValues (array $postValues) | |
setLastError (array $lastError) | |
setMessages (array $messages=array()) | |
Protected Member Functions | |
initializeHandle () | |
executeAction () | |
isDbalEnabled () | |
getContext () | |
loadExtLocalconfDatabaseAndExtTables () | |
getHashedPassword ($password) | |
Protected Attributes | |
$objectManager = null | |
$view = null | |
$controller = '' | |
$action = '' | |
$token = '' | |
$postValues = array() | |
$lastError = array() | |
$messages = array() | |
General purpose controller action helper methods and bootstrap
Definition at line 22 of file AbstractAction.php.
|
abstractprotected |
Executes the action
Referenced by AbstractAjaxAction\handle(), and AbstractAction\handle().
|
protected |
Context determines if the install tool is called within backend or standalone
Definition at line 217 of file AbstractAction.php.
References GeneralUtility\_GP().
|
protected |
This function returns a salted hashed key.
string | $password |
Definition at line 277 of file AbstractAction.php.
handle | ( | ) |
Handles the action
Implements ActionInterface.
Definition at line 89 of file AbstractAction.php.
References AbstractAction\executeAction(), and AbstractAction\initializeHandle().
|
protected |
Initialize the handle action, sets up fluid stuff and assigns default variables.
Definition at line 100 of file AbstractAction.php.
References $GLOBALS, and GeneralUtility\getFileAbsFileName().
Referenced by AbstractAjaxAction\handle(), and AbstractAction\handle().
injectObjectManager | ( | \TYPO3\CMS\Extbase\Object\ObjectManager | $objectManager | ) |
Do NOT refactor to use annotation, as failsafe handling would not work any more
\TYPO3\CMS\Extbase\Object\ObjectManager | $objectManager |
Definition at line 34 of file AbstractAction.php.
References AbstractAction\$objectManager.
injectView | ( | \TYPO3\CMS\Install\View\FailsafeView | $view | ) |
Do NOT refactor to use annotation, as failsafe handling would not work any more
\TYPO3\CMS\Install\View\FailsafeView | $view |
Definition at line 49 of file AbstractAction.php.
References AbstractAction\$view.
|
protected |
Return TRUE if dbal and adodb extension is loaded
Definition at line 202 of file AbstractAction.php.
Referenced by DatabaseConnect\executeAction(), DatabaseConnect\getConfiguredOrDefaultPort(), and DatabaseConnect\needsExecution().
|
protected |
Some actions like the database analyzer and the upgrade wizards need additional bootstrap actions performed.
Those actions can potentially fatal if some old extension is loaded that triggers a fatal in ext_localconf or ext_tables code! Use only if really needed.
Definition at line 260 of file AbstractAction.php.
Referenced by UpgradeWizard\executeAction(), and AbstractCoreUpdate\initializeHandle().
setAction | ( | $action | ) |
Set action name. This is usually similar to the class name, only for loginForm, the action is login
string | $action | Name of target action for forms |
Implements ActionInterface.
Definition at line 161 of file AbstractAction.php.
References AbstractAction\$action.
setController | ( | $controller | ) |
Set action group. Either string 'step', 'tool' or 'common'
string | $controller | Controller name |
Implements ActionInterface.
Definition at line 149 of file AbstractAction.php.
References AbstractAction\$controller.
setLastError | ( | array | $lastError | ) |
Set the last error array as returned by error_get_last()
array | $lastError |
Implements ActionInterface.
Definition at line 182 of file AbstractAction.php.
References AbstractAction\$lastError.
setMessages | ( | array | $messages = array() | ) |
Status messages from controller
array<\TYPO3\CMS\Install\Status\StatusInterface> | $messages |
Implements ActionInterface.
Definition at line 192 of file AbstractAction.php.
References AbstractAction\$messages.
setPostValues | ( | array | $postValues | ) |
Set POST form values of install tool
array | $postValues |
Implements ActionInterface.
Definition at line 172 of file AbstractAction.php.
References AbstractAction\$postValues.
setToken | ( | $token | ) |
Set form protection token
string | $token | Form protection token |
Implements ActionInterface.
Definition at line 138 of file AbstractAction.php.
References AbstractAction\$token.
|
protected |
Definition at line 62 of file AbstractAction.php.
Referenced by CoreUpdateIsUpdateAvailable\executeAction(), CoreUpdateIsUpdateAvailable\getAction(), and AbstractAction\setAction().
|
protected |
Definition at line 57 of file AbstractAction.php.
Referenced by AbstractAction\setController().
|
protected |
Definition at line 77 of file AbstractAction.php.
Referenced by ExtensionCompatibilityTester\logError(), and AbstractAction\setLastError().
|
protected |
Definition at line 82 of file AbstractAction.php.
Referenced by AbstractAction\setMessages().
|
protected |
Definition at line 27 of file AbstractAction.php.
Referenced by AbstractAction\injectObjectManager().
|
protected |
Definition at line 72 of file AbstractAction.php.
Referenced by Configuration\executeAction(), CleanUp\getTypo3TempStatistics(), and AbstractAction\setPostValues().
|
protected |
Definition at line 67 of file AbstractAction.php.
Referenced by AbstractAction\setToken().
|
protected |
Definition at line 42 of file AbstractAction.php.
Referenced by AbstractAction\injectView().