CMS  Version 3.9
redirects.inc File Reference

Go to the source code of this file.

Variables

 $menu_item = "Redirects"
 
 $redirects = Query::create(Redirect, "ORDER BY redirect_from")->execute()
 
 $table = new DataListView($redirects, "redirects")
 
$table column("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override true
 
$table column("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override width
 
text align {active:Yes/No}", true, "width: 10%
 
$table pageSize = 20
 
$table filter = true
 
$table excelFile = "redirects.xls"
 
$table emptyMessage = "You have not yet defined any redirects"
 
 $script = $table->writeScript()
 

Variable Documentation

◆ $menu_item

$menu_item = "Redirects"

Definition at line 4 of file redirects.inc.

◆ $redirects

$redirects = Query::create(Redirect, "ORDER BY redirect_from")->execute()

Definition at line 6 of file redirects.inc.

◆ $script

$script = $table->writeScript()

Definition at line 20 of file redirects.inc.

◆ $table

$table = new DataListView($redirects, "redirects")

Definition at line 8 of file redirects.inc.

◆ align

text text align {active:Yes/No}", true, "width: 10%

Definition at line 12 of file redirects.inc.

◆ emptyMessage

$table emptyMessage = "You have not yet defined any redirects"

Definition at line 18 of file redirects.inc.

◆ excelFile

$table excelFile = "redirects.xls"

Definition at line 17 of file redirects.inc.

◆ filter

$table filter = true

Definition at line 16 of file redirects.inc.

◆ pageSize

$table pageSize = 20

Definition at line 15 of file redirects.inc.

◆ true

$table column ("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override true
override

Definition at line 12 of file redirects.inc.

◆ width

$table column ("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override width

Definition at line 12 of file redirects.inc.