CMS
Version 3.9
reorder_scroll_parts.inc
Go to the documentation of this file.
1
<?php
2
Fakoli::using
(
"scroll"
);
3
4
Fakoli::assertRole
(
"admin,editor"
);
5
6
try
7
{
8
updateSortOrder(
'ScrollPart'
);
9
Fakoli::end
(
"OK"
);
10
}
11
catch
(Exception $e)
12
{
13
Fakoli::end
($e->getMessage());
14
}
15
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
Fakoli\end
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition:
core.inc:1149
Fakoli\assertRole
static assertRole($role, $redirect="", $message="")
Assert that the user has one of the specified roles.
Definition:
core.inc:297
code
cms.sonjara.com
cms
components
scroll
handlers
reorder_scroll_parts.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1