This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_SinglePage

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

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_Collection
Extended by Collection
Extended by Concrete5_Model_Page
Extended by Page
Extended by Concrete5_Model_SinglePage

Direct known subclasses

SinglePage

Package: Pages
Located at core/models/single_page.php

Methods summary

public static
public static
public static
# sanitizePath( $path )
public static
# getPathToNode( $node, $pkg )
public
# refresh( )
public static Page
# getByID( integer $cID, string $version = 'RECENT', string $class,… )
public page
# add( collectiontype $cPath, array $pkg = null )

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

public static
# obtainPermissionsXML( $node, $pkg = null )
public static
# getList( )

Methods inherited from Concrete5_Model_Page

__destruct(), _associateMasterCollectionAttributes(), _associateMasterCollectionBlocks(), _duplicateAll(), _getNumChildren(), acquireAreaPermissions(), acquirePagePermissions(), activate(), addCollectionAlias(), addCollectionAliasExternal(), addHomePage(), addStatic(), assignPermissionSet(), assignPermissions(), canMoveCopyTo(), clearPagePermissions(), deactivate(), delete(), duplicate(), duplicateAll(), export(), forceCheckIn(), getByPath(), getCollectionAction(), getCollectionCheckedOutUserID(), getCollectionCheckedOutUserName(), getCollectionChildrenArray(), getCollectionDatePublic(), getCollectionDescription(), getCollectionDisplayOrder(), getCollectionFilename(), getCollectionFullPageCaching(), getCollectionFullPageCachingLifetime(), getCollectionFullPageCachingLifetimeCustomValue(), getCollectionFullPageCachingLifetimeValue(), getCollectionHandle(), getCollectionIcon(), getCollectionInheritance(), getCollectionName(), getCollectionParentID(), getCollectionParentIDFromChildID(), getCollectionParentIDs(), getCollectionPath(), getCollectionPathFromID(), getCollectionPointerExternalLink(), getCollectionPointerID(), getCollectionPointerOriginalID(), getCollectionThemeID(), getCollectionThemeObject(), getCollectionTypeHandle(), getCollectionTypeID(), getCollectionTypeName(), getCollectionUserID(), getCurrentPage(), getFirstChild(), getMasterCollectionID(), getNextSubPageDisplayOrder(), getNumChildren(), getNumChildrenDirect(), getOriginalCollectionID(), getPackageHandle(), getPackageID(), getPageIndexContent(), getPageIndexScore(), getPagePaths(), getParentPermissionsCollectionID(), getPermissionObjectIdentifier(), getPermissionsCollectionID(), getPermissionsCollectionObject(), inheritPermissionsFromDefaults(), inheritPermissionsFromParent(), isActive(), isAdminArea(), isAlias(), isArrangeMode(), isBlockAliasedFromMasterCollection(), isCheckedOut(), isCheckedOutByMe(), isEditMode(), isExternalLink(), isGeneratedCollection(), isInTrash(), isMasterCollection(), isSystemPage(), move(), movePageDisplayOrderToBottom(), movePageDisplayOrderToTop(), moveToRoot(), moveToTrash(), openCollectionPointerExternalLinkInNewWindow(), overrideTemplatePermissions(), populatePage(), populateRecursivePages(), processArrangement(), queueForDeletion(), queueForDeletionRequest(), queueForDeletionSort(), queueForDuplication(), queueForDuplicationSort(), removeThisAlias(), rescanAreaPermissions(), rescanChildrenDisplayOrder(), rescanCollectionPath(), rescanCollectionPathChildren(), rescanCollectionPathIndividual(), rescanPagePaths(), rescanSystemPageStatus(), rescanSystemPages(), setOverrideTemplatePermissions(), setPageIndexScore(), setPermissionsInheritanceToOverride(), setPermissionsInheritanceToTemplate(), setPermissionsToManualOverride(), setTheme(), uniquifyPagePath(), update(), updateCollectionAliasExternal(), updateDisplayOrder(), updateGroupsSubCollection(), updatePermissionsCollectionID()

Properties summary

Properties inherited from Concrete5_Model_Collection

$attributes, $cID

Properties inherited from Concrete5_Library_Object

$error