class Single (View source)

SinglePage extends the page class for those instances of pages that have no type, and are special "single pages" within the system.

\@package Pages

Methods

static 
getThemeableCorePages()

No description

static 
getListByPackage($pkg)

No description

static 
sanitizePath($path)

No description

static 
getPathToNode($node, $pkg)

No description

static 
refresh(Page $c)

No description

static 
getByID($cID, $version = 'RECENT')

No description

static mixed
addGlobal($cPath, null $pkg = null)

Adds a single page outside of any site trees. The global=true declaration in content importer XML must come at on the first URL segment, so we don't have to be smart and check to see if the parents already eixst.

static 
createPageInTree($cPath, TreeInterface $tree, $moveToRoot = false, $pkg = null)

No description

static 
add($cPath, $pkg = null, $moveToRoot = false)

No description

static 
getList()

No description

Details

static getThemeableCorePages()

No description

static getListByPackage($pkg)

No description

Parameters

$pkg

static sanitizePath($path)

No description

Parameters

$path

static getPathToNode($node, $pkg)

No description

Parameters

$node
$pkg

static refresh(Page $c)

No description

Parameters

Page $c

static getByID($cID, $version = 'RECENT')

No description

Parameters

$cID
$version

static mixed addGlobal($cPath, null $pkg = null)

Adds a single page outside of any site trees. The global=true declaration in content importer XML must come at on the first URL segment, so we don't have to be smart and check to see if the parents already eixst.

Parameters

$cPath
null $pkg

Return Value

mixed

static createPageInTree($cPath, TreeInterface $tree, $moveToRoot = false, $pkg = null)

No description

Parameters

$cPath
TreeInterface $tree
$moveToRoot
$pkg

static add($cPath, $pkg = null, $moveToRoot = false)

No description

Parameters

$cPath
$pkg
$moveToRoot

static getList()

No description