TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
ExtensionManagerConfigurationUtility Class Reference

Public Member Functions

 checkConfigurationBackend (array $params, $pObj)
 
 checkConfigurationFrontend (array $params, $pObj)
 
 buildHashMethodSelectorFE (array $params, $pObj)
 
 buildHashMethodSelectorBE (array $params, $pObj)
 

Protected Member Functions

 setErrorLevel ($level)
 
 renderMessage ()
 
 buildHashMethodSelector (array $params, $pObj, $disposal)
 
 processPostData (array $postArray=array())
 
 getLanguageService ()
 

Protected Attributes

 $errorType = FlashMessage::OK
 
 $header
 
 $preText
 
 $problems = array()
 
 $extConf = array()
 

Private Member Functions

 init ()
 

Detailed Description

class providing configuration checks for saltedpasswords.

Since
2009-09-04

Definition at line 25 of file ExtensionManagerConfigurationUtility.php.

Member Function Documentation

buildHashMethodSelector ( array  $params,
  $pObj,
  $disposal 
)
protected

Renders a selector element that allows to select the hash method to be used.

Parameters
array$paramsField information to be rendered
\TYPO3\CMS\Core\TypoScript\ConfigurationForm$pObjThe calling parent object.
string$disposalThe configuration disposal ('FE' or 'BE')
Returns
string The HTML selector

Definition at line 367 of file ExtensionManagerConfigurationUtility.php.

References $GLOBALS, GeneralUtility\getUserObj(), and ExtensionManagerConfigurationUtility\init().

Referenced by ExtensionManagerConfigurationUtility\buildHashMethodSelectorBE(), and ExtensionManagerConfigurationUtility\buildHashMethodSelectorFE().

buildHashMethodSelectorBE ( array  $params,
  $pObj 
)

Renders a selector element that allows to select the hash method to be used (backend disposal)

Parameters
array$paramsField information to be rendered
\TYPO3\CMS\Core\TypoScript\ConfigurationForm$pObjThe calling parent object.
Returns
string The HTML selector

Definition at line 408 of file ExtensionManagerConfigurationUtility.php.

References ExtensionManagerConfigurationUtility\buildHashMethodSelector().

buildHashMethodSelectorFE ( array  $params,
  $pObj 
)

Renders a selector element that allows to select the hash method to be used (frontend disposal).

Parameters
array$paramsField information to be rendered
\TYPO3\CMS\Core\TypoScript\ConfigurationForm$pObjThe calling parent object.
Returns
string The HTML selector

Definition at line 395 of file ExtensionManagerConfigurationUtility.php.

References ExtensionManagerConfigurationUtility\buildHashMethodSelector().

checkConfigurationBackend ( array  $params,
  $pObj 
)

Checks the backend configuration and shows a message if necessary. The method returns an array or the HTML code depends on $params['propertyName'] is set or not.

Parameters
array$paramsField information to be rendered
\TYPO3\CMS\Core\TypoScript\ConfigurationForm$pObjThe calling parent object.
Returns
array|string array with errorType and HTML or only the HTML as string

Definition at line 168 of file ExtensionManagerConfigurationUtility.php.

References ExtensionManagerConfigurationUtility\$extConf, $GLOBALS, $lang, ExtensionManagerConfigurationUtility\$problems, elseif, ExtensionManagerConfigurationUtility\getLanguageService(), ExtensionManagerConfigurationUtility\init(), ExtensionManagementUtility\isLoaded(), ExtensionManagerConfigurationUtility\renderMessage(), and ExtensionManagerConfigurationUtility\setErrorLevel().

checkConfigurationFrontend ( array  $params,
  $pObj 
)

Checks the frontend configuration and shows a message if necessary. The method returns an array or the HTML code depends on $params['propertyName'] is set or not.

Parameters
array$paramsField information to be rendered
\TYPO3\CMS\Core\TypoScript\ConfigurationForm$pObjThe calling parent object.
Returns
array|string array with errorType and HTML or only the HTML as string

Definition at line 277 of file ExtensionManagerConfigurationUtility.php.

References ExtensionManagerConfigurationUtility\$extConf, $GLOBALS, $lang, ExtensionManagerConfigurationUtility\$problems, elseif, ExtensionManagerConfigurationUtility\getLanguageService(), ExtensionManagerConfigurationUtility\init(), GeneralUtility\inList(), ExtensionManagementUtility\isLoaded(), ExtensionManagerConfigurationUtility\renderMessage(), and ExtensionManagerConfigurationUtility\setErrorLevel().

getLanguageService ( )
protected
init ( )
private
processPostData ( array  $postArray = array())
protected

Processes the information submitted by the user using a POST request and transforms it to a TypoScript node notation.

Parameters
array$postArrayIncoming POST information
Returns
array Processed and transformed POST information

Definition at line 420 of file ExtensionManagerConfigurationUtility.php.

Referenced by ExtensionManagerConfigurationUtility\init().

renderMessage ( )
protected
setErrorLevel (   $level)
protected

Member Data Documentation

$errorType = FlashMessage::OK
protected

Definition at line 30 of file ExtensionManagerConfigurationUtility.php.

$extConf = array()
protected
$header
protected

Definition at line 35 of file ExtensionManagerConfigurationUtility.php.

$preText
protected

Definition at line 40 of file ExtensionManagerConfigurationUtility.php.

$problems = array()
protected