Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getRegisterData example
return
;
}
if
(
$this
->
shouldRedirectToTarget
(
)
)
{
$this
->
redirect
(
[
'controller' =>
$sTarget
, 'action' =>
$sTargetAction
]
)
;
return
;
}
$this
->
View
(
)
->
assign
(
'isAccountless',
$this
->
get
(
'session'
)
->
get
(
'isAccountless'
)
)
;
$this
->
View
(
)
->
assign
(
'register',
$this
->
getRegisterData
(
)
)
;
$this
->
View
(
)
->
assign
(
'countryList',
$this
->
get
(
'modules'
)
->
Admin
(
)
->
sGetCountryList
(
)
)
;
}
/** * Checks the registration */
public
function
saveRegisterAction
(
)
{
if
(
!
$this
->request->
isPost
(
)
)
{
$this
->
forward
(
'index'
)
;