Singleton-create-method
Single
getDatabaseModel
()
Method to create a new page with one default record
Result
backendCreatePageAction
(string $path, string $defaultLang, array $recordContents)
-
string
$path: URL path of the new page
-
string
$defaultLang: Language for default record of the new page
-
array
$recordContents: Array with contents of default record
Method to delete a single page with all records
Result
backendDeletePageAction
(int $pageId)
-
int
$pageId: Id of the page
Method to return only all page paths
Array
backendGetAllPageNamesAction
()
Method to get all page information incl. records for one page-id
Array
backendGetPageInformation
(int $id)
-
int
$id: Id from one specific page
Method to return array with all pages and subpages Note: Navigation is restricted to one sublevel
Array
backendGetWebsitePagesAction
(string $lang)
-
string
$lang: Current language
Wrapper method to move a node one down
Result
backendMovePageDownAction
(int $id)
-
int
$id: ID of the page-node
Wrapper method to move a node one up
Result
backendMovePageUpAction
(int $id)
-
int
$id: ID of the page-node
Method to get all page information incl. records for one page-id
Result
backendSetPageInformation
(int $id, array $page)
-
int
$id: Id from one specific page
-
array
$page: Array with modified page information
Method to get all used languages out of database
Array
frontendGetAllLanguagesAction
()
Method to return all meta information for the given page/language
String
frontendGetAllMetaTagsAction
(string $lang, $pageId, string $pageName)
-
string
$lang: Current language used
-
string
$pageName: Name of the current page
-
$pageId
Method to get the additional CSS file for this page
Name
frontendGetPageAdditionalCss
(String $id)
-
String
$id: ID of the page
Method to get the additional JS file for this page
Name
frontendGetPageAdditionalJs
(String $id)
-
String
$id: ID of the page
Method to return the content of a page
String
frontendGetWebsiteContentAction
(string $lang, $pageId, string $pageName)
-
string
$lang: Current language used
-
string
$pageName: Name of the current page
-
$pageId
Method to return array with localized navigation Note: Navigation is restricted to one sublevel
Array
frontendGetWebsiteNavigationAction
(string $lang)
-
string
$lang: Current language
Method to return the needed website title
String
frontendGetWebsiteTitleAction
(string $lang, $pageId, string $pageName)
-
string
$lang: Current language used
-
string
$pageName: Name of the current page
-
$pageId
Method to return a page ID for given page path
Integer
getPageId
(String $pagePath)
Method to return a page path for given page ID
String
getPagePath
(String $pageId)