TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
tx_install_ajax Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 printContent ()
 createEncryptionKey ($keyLength=96)
 addTempContentHttpHeaders ()

Public Attributes

 $content
 $cmd = ''

Detailed Description

This is the eID handler for install tool AJAX calls.

Author:
Marcus Krause <security@typo3.org>

Definition at line 70 of file class.tx_install_ajax.php.


Member Function Documentation

tx_install_ajax::addTempContentHttpHeaders ( )

Sends cache control headers that prevent caching in user agents.

Definition at line 144 of file class.tx_install_ajax.php.

Referenced by main().

tx_install_ajax::createEncryptionKey ( keyLength = 96)

Returns a newly created TYPO3 encryption key with a given length.

Parameters:
integer$keyLengthdesired key length
Returns:
string

Definition at line 132 of file class.tx_install_ajax.php.

References t3lib_div\getRandomHexString().

Referenced by main().

tx_install_ajax::init ( )

Init function, setting the input vars in the class scope.

Returns:
void

Definition at line 93 of file class.tx_install_ajax.php.

References t3lib_div\_GP().

tx_install_ajax::main ( )

Main function which creates the AJAX call return string. It is stored in $this->content.

Returns:
void

Definition at line 103 of file class.tx_install_ajax.php.

References addTempContentHttpHeaders(), and createEncryptionKey().

tx_install_ajax::printContent ( )

Outputs the content from $this->content

Returns:
void

Definition at line 119 of file class.tx_install_ajax.php.


Member Data Documentation

tx_install_ajax::$cmd = ''

Definition at line 85 of file class.tx_install_ajax.php.

tx_install_ajax::$content

Definition at line 78 of file class.tx_install_ajax.php.


The documentation for this class was generated from the following file: