Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
sGetNotes example
public
function
postDispatch
(
)
{
Shopware
(
)
->
Session
(
)
->
set
(
'sNotesQuantity',
Shopware
(
)
->
Modules
(
)
->
Basket
(
)
->
sCountNotes
(
)
)
;
}
/** * @return void */
public
function
indexAction
(
)
{
$view
=
$this
->
View
(
)
;
$view
->
assign
(
'sNotes',
Shopware
(
)
->
Modules
(
)
->
Basket
(
)
->
sGetNotes
(
)
)
;
$view
->
assign
(
'sUserLoggedIn',
Shopware
(
)
->
Modules
(
)
->
Admin
(
)
->
sCheckUser
(
)
)
;
$view
->
assign
(
'sOneTimeAccount',
Shopware
(
)
->
Session
(
)
->
offsetGet
(
'sOneTimeAccount'
)
)
;
}
/** * @return void */
public
function
deleteAction
(
)
{
if
(
!
empty
(
$this
->
Request
(
)
->sDelete
)
)
{
Shopware
(
)
->
Modules
(
)
->
Basket
(
)
->
sDeleteNote
(
$this
->
Request
(
)
->sDelete
)
;
}