CMS  Version 3.9
pages.inc File Reference

Go to the source code of this file.

Variables

 $title = "Manage Pages"
 
 $menu_item = "Pages"
 
 $site_id = checkNumeric($_GET["site_id"])
 
 $sites = query(Site, "ORDER BY site_name")
 
 $tabs = new DataItemTabBar("tabs", $sites)
 
 $pagesBySite
 
 $pageTable = new DataListView($pagesBySite, "pages")
 
$pageTable sortable = true
 
$pageTable filter = true
 
$pageTable cssStyle = "width: 100%"
 
$pageTable excelFile = "pages.xls"
 
$pageTable emptyMessage = "There are no pages for this site."
 
 $script = $pageTable->writeScript()
 

Variable Documentation

◆ $menu_item

$menu_item = "Pages"

Definition at line 42 of file pages.inc.

◆ $pagesBySite

$pagesBySite
Initial value:
= Query::create(Page, "WHERE site_id=:site ORDER BY identifier")
->bind(":site", $site_id)
->execute()
Definition: page.inc:43
$site_id
Definition: pages.inc:44

Definition at line 51 of file pages.inc.

◆ $pageTable

$pageTable = new DataListView($pagesBySite, "pages")

Definition at line 55 of file pages.inc.

◆ $script

$script = $pageTable->writeScript()

Definition at line 68 of file pages.inc.

◆ $site_id

$site_id = checkNumeric($_GET["site_id"])

Definition at line 44 of file pages.inc.

◆ $sites

$sites = query(Site, "ORDER BY site_name")

Definition at line 46 of file pages.inc.

◆ $tabs

$tabs = new DataItemTabBar("tabs", $sites)

Definition at line 50 of file pages.inc.

◆ $title

$title = "Manage Pages"

Definition at line 41 of file pages.inc.

◆ cssStyle

$pageTable cssStyle = "width: 100%"

Definition at line 64 of file pages.inc.

◆ emptyMessage

$pageTable emptyMessage = "There are no pages for this site."

Definition at line 66 of file pages.inc.

◆ excelFile

$pageTable excelFile = "pages.xls"

Definition at line 65 of file pages.inc.

◆ filter

$pageTable filter = true

Definition at line 63 of file pages.inc.

◆ sortable

$pageTable sortable = true

Definition at line 62 of file pages.inc.