TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
▼
TYPO3 CMS
TYPO3 CMS
Test List
Todo List
Deprecated List
►
Namespace Members
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
BackendHookForAjaxLogin.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Rsaauth\Hook
;
3
16
use
TYPO3\CMS\Backend\Utility\BackendUtility
;
17
21
class
BackendHookForAjaxLogin
{
29
public
function
addRsaJsLibraries
(array $configuration, \
TYPO3
\CMS\Backend\Controller\BackendController $backendController) {
30
$javascriptPath =
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath
(
'rsaauth'
) .
'resources/'
;
31
$files = array(
32
'jsbn/jsbn.js'
,
33
'jsbn/prng4.js'
,
34
'jsbn/rng.js'
,
35
'jsbn/rsa.js'
,
36
'jsbn/base64.js'
37
);
38
foreach
($files as $file) {
39
$backendController->getPageRenderer()->addJsLibrary($file, $javascriptPath . $file);
40
}
41
}
42
}
TYPO3
BackendUtility
TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extRelPath
static extRelPath($key)
Definition:
ExtensionManagementUtility.php:137
TYPO3\CMS\Rsaauth\Hook
Definition:
BackendHookForAjaxLogin.php:2
TYPO3\CMS\Rsaauth\Hook\BackendHookForAjaxLogin\addRsaJsLibraries
addRsaJsLibraries(array $configuration, \TYPO3\CMS\Backend\Controller\BackendController $backendController)
Definition:
BackendHookForAjaxLogin.php:29
TYPO3\CMS\Rsaauth\Hook\BackendHookForAjaxLogin
Definition:
BackendHookForAjaxLogin.php:21
typo3
sysext
rsaauth
Classes
Hook
BackendHookForAjaxLogin.php
Generated on Wed Aug 7 2019 09:52:30 for TYPO3 CMS by
1.8.13