Returns an instance of Page
Singleton pattern implementation
static
Page
getInstance
()
static
void
loadLeftBlocks
()
void
getByAliace
( $aliace, [ $current_language = null])
-
$aliace
-
$current_language
Create html admin form for edit page
string
loadAddForm
()
Cretae html admin all pages
string
loadAdminHtml
([bool $return = false])
-
bool
$return: if required return as array
Create html request page for admin
string
loadAdminRequestsHtml
()
Load content for page
Allow variable
$page - array pages
$meta_title, $meta_keywords, $meta_descripton - all meta
Incoming variable
page - aliace for pages
string
loadPage
([ $aliace = null])
Load content page
string
loadPageHtml
(string $aliace, [ $current_language = null])
-
string
$aliace
-
$current_language
Load top page for index
string
loadTopPage
()
void
loadTrash
([ $cnt = false])
void
saveByNavigation
(Navigation $nav)
void
saveHtml
( $pages_id, $lang_id, $newhtml)
-
$pages_id
-
$lang_id
-
$newhtml
void
sendRequest
( $aliace)