PageThe page object in Concrete encapsulates all the functionality used by a typical page and their contents including blocks, page metadata, page permissions.
Located in /models/page.php (line 12)
Object | --Collection | --Page
| Class | Description |
|---|---|
ComposerPage
|
ComposerPage is a special object of pages that haven't been published yet but still live in the sitemap system. |
SinglePage
|
SinglePage extends the page class for those instances of pages that have no type, and are special "single pages" within the system. |
mixed
$blocksAliasedFromMasterCollection
= null (line 14)
Inherited from Collection
Collection::$attributes
Collection::$cID
static addHomePage (line 2112)
Adds the home page to the system. Typically used only by the installation program.
static getByID (line 39)
static getByPath (line 21)
static getCollectionPathFromID (line 669)
Returns the path for a page from its cID
static getCurrentPage (line 2410)
acquireAreaPermissions (line 1274)
add (line 2162)
Adds a new page of a certain type, using a passed associate array to setup value. $data may contain any or all of the following:
"uID": User ID of the page's owner "pkgID": Package ID the page belongs to "cName": The name of the page "cHandle": The handle of the page as used in the path "cDatePublic": The date assigned to the page
addCollectionAliasExternal (line 508)
Add a new external link
addStatic (line 2344)
addToPageCache (line 2244)
approvePendingAction (line 1685)
assignPermissionSet (line 283)
Assign permissions to a page based on an array
canMoveCopyTo (line 1102)
clearPendingAction (line 1677)
duplicate (line 1484)
duplicateAll (line 1459)
forceCheckIn (line 155)
Forces the page to be checked in if its checked out
getAllowedSubCollections (line 652)
Gets the allowed sub pages for a page
getCollectionAction (line 1867)
getCollectionCheckedOutUserID (line 645)
Returns the uID for a page that is checked out
getCollectionChildrenArray (line 1082)
getCollectionDatePublic (line 843)
Gets the date a the current version was made public,
if user is specified, returns in the current user's timezone
getCollectionDescription (line 859)
Get the description of a page
getCollectionDisplayOrder (line 983)
Gets the position of the page in the sitemap
getCollectionFilename (line 832)
Get the file name of a page (single pages)
getCollectionFullPageCaching (line 2256)
getCollectionFullPageCachingLifetime (line 2260)
getCollectionFullPageCachingLifetimeCustomValue (line 2264)
getCollectionFullPageCachingLifetimeValue (line 2268)
getCollectionHandle (line 696)
Returns the page's handle
getCollectionIcon (line 567)
Gets the icon for a page (also fires the on_page_get_icon event)
getCollectionInheritance (line 1021)
getCollectionName (line 773)
Returns the page's name
getCollectionParentID (line 867)
Gets the cID of the page's parent
getCollectionParentIDFromChildID (line 876)
Get the Parent cID from a page by using a cID
getCollectionParentIDs (line 891)
Returns an array of this cParentID and aliased parentIDs
getCollectionPath (line 660)
Returns the path for the current page
getCollectionPointerExternalLink (line 792)
Returns link for the aliased page
getCollectionPointerID (line 784)
Returns the collection ID for the aliased page (returns 0 unless used on an actual alias)
getCollectionPointerOriginalID (line 824)
Get the original cID of a page
getCollectionThemeID (line 728)
Returns theme id for the collection
getCollectionThemeObject (line 760)
Returns Collection's theme object
getCollectionTypeHandle (line 720)
Returns the Collection Type handle
getCollectionTypeID (line 712)
Returns the Collection Type ID
getCollectionTypeName (line 704)
Returns the page's name
getCollectionUserID (line 688)
Returns the uID for a page ownder
getFirstChild (line 1073)
Returns the first child of the current page, or null if there is no child
getMasterCollectionID (line 1037)
getNextSubPageDisplayOrder (line 1714)
getNumChildren (line 1053)
getNumChildrenDirect (line 1057)
getOriginalCollectionID (line 1046)
getPackageHandle (line 142)
Get the package handle for a page (page thats added by a package)
getPackageID (line 136)
Get the package ID for a page (page thats added by a package) (returns 0 if its not in a package)
getPageIndexContent (line 1848)
getPageIndexScore (line 1844)
getPagePaths (line 2390)
getParentPermissionsCollectionID (line 1025)
getPendingAction (line 912)
Gets the pending action for a page
getPendingActionDateTime (line 930)
Gets the pending action date,
if user is specified, returns in the current user's timezone
getPendingActionTargetCollectionID (line 943)
Gets the cID of the target page (like for deleting)
getPendingActionUserID (line 920)
Gets the uID of the user that intiated the pending action
getPermissionsCollectionID (line 1017)
getPermissionsCollectionObject (line 1033)
isAdminArea (line 166)
Checks if the page is a dashboard page, returns true if it is
isAlias (line 808)
Checks to see if the page is an alias
isArrangeMode (line 150)
Returns 1 if the page is in arrange mode
isBlockAliasedFromMasterCollection (line 742)
Check if a block is an alias from a page default
isCheckedOut (line 227)
checks if the page is checked out, if it is return true
isCheckedOutByMe (line 259)
Checks if the page is checked out by the current user
isEditMode (line 127)
Returns 1 if the page is in edit mode
isExternalLink (line 816)
Checks if a page is an external link
isGeneratedCollection (line 268)
Checks if the page is a single page
isMasterCollection (line 904)
Checks if a page is a page default
isPendingCopy (line 959)
Checks if the pending action is copy
isPendingDelete (line 967)
Checks if the pending action is delete
isPendingMove (line 951)
Checks if the pending action is move
isSystemPage (line 555)
Check if a page is a single page that is in the core (/concrete directory)
markPendingAction (line 1651)
move (line 1408)
movePageDisplayOrderToBottom (line 1768)
movePageDisplayOrderToTop (line 1753)
openCollectionPointerExternalLinkInNewWindow (line 800)
Returns if the alias opens in a new window
overrideTemplatePermissions (line 975)
Gets the template permissions
populatePage (line 66)
processArrangement (line 180)
Takes an array of area/block values and makes that the arrangement for this page's version
Format is like: $area[10][0] = 2, $area[10][1] = 8, $area[15][0] = 27, with the area ID being the key and the block IDs being 1-n values inside it
removeThisAlias (line 606)
Remove an external link/alias
renderFromCache (line 2248)
rescanChildrenDisplayOrder (line 1699)
rescanCollectionPath (line 1727)
rescanCollectionPathChildren (line 1854)
rescanCollectionPathIndividual (line 1781)
rescanPagePaths (line 1228)
setPageIndexScore (line 1840)
setPermissionsInheritanceToOverride (line 1010)
Set the permissions of sub-collections added beneath this permissions to inherit from the parent
setPermissionsInheritanceToTemplate (line 1000)
Set the permissions of sub-collections added beneath this permissions to inherit from the template
supportsPageCache (line 2288)
uniquifyPagePath (line 1208)
update (line 1109)
updateCollectionAliasExternal (line 486)
Update the name, link, and to open in a new window for an external link
updateDisplayOrder (line 1745)
updateGroupsSubCollection (line 1390)
updatePermissions (line 1303)
updatePermissionsCollectionID (line 1372)
_associateMasterCollectionBlocks (line 2074)
_getNumChildren (line 1088)
Inherited From Collection
Collection::add()
Collection::addAreaLayout()
Collection::addAttribute()
Collection::addBlock()
Collection::clearAttribute()
Collection::clearCollectionAttributes()
Collection::delete()
Collection::deleteAreaLayout()
Collection::duplicate()
Collection::getArea()
Collection::getAreaCustomStyleRule()
Collection::getAttribute()
Collection::getAttributeValueObject()
Collection::getBlocks()
Collection::getByHandle()
Collection::getByID()
Collection::getCollectionAreaDisplayOrder()
Collection::getCollectionAttributeValue()
Collection::getCollectionDateAdded()
Collection::getCollectionDateLastModified()
Collection::getCollectionHandle()
Collection::getCollectionID()
Collection::getCollectionTypeID()
Collection::getSetCollectionAttributes()
Collection::getVersionID()
Collection::getVersionObject()
Collection::getVersionToModify()
Collection::hasAliasedContent()
Collection::loadVersionObject()
Collection::markModified()
Collection::outputCustomStyleHeaderItems()
Collection::refreshCache()
Collection::reindex()
Collection::rescanDisplayOrder()
Collection::resetAreaCustomStyle()
Collection::setAreaCustomStyle()
Collection::setAttribute()
Collection::updateAreaLayoutId()
Collection::_cloneVersion()
Collection::__destruct()
Documentation generated on Thu, 15 Sep 2011 16:36:28 -0700 by phpDocumentor 1.4.1