class Page extends Collection implements ObjectInterface, ObjectInterface, AssignableObjectInterface, TreeInterface, SiteAggregateInterface, ExportableInterface (View source)

The page object in Concrete encapsulates all the functionality used by a typical page and their contents including blocks, page metadata, page permissions.

Traits

Properties

protected $controller
protected $blocksAliasedFromMasterCollection
protected $cPointerOriginalID
$cPointerExternalLink
protected $cPointerExternalLinkNewWindow
protected $isMasterCollection
protected $cInheritPermissionsFromCID
protected $cIsSystemPage
protected $siteTreeID
$siteTree

Methods

assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)

No description

static Page
getByPath($path, $version = 'RECENT', TreeInterface $tree = null)

No description

static Page
getByID(int $cID, string $version = 'RECENT')

No description

__construct()

No description

getExporter()

No description

populatePage($cInfo, $where, $cvID)

No description

getJSONObject()

Return a representation of the Page object as something easily serializable.

PageController
getPageController()

No description

bool
isEditMode()

Is the page in edit mode.

int
getPackageID()

Get the package ID for a page (page thats added by a package) (returns 0 if its not in a package).

string
getPackageHandle()

Get the package handle for a page (page thats added by a package).

bool
isArrangeMode()

Returns 1 if the page is in arrange mode.

forceCheckIn()

Forces the page to be checked in if its checked out.

static 
forceCheckInForAllPages()

No description

bool
isAdminArea()

Checks if the page is a dashboard page, returns true if it is.

static 
getFromRequest(Request $request)

Uses a Request object to determine which page to load. queries by path and then by cID.

processArrangement($area_id, $moved_block_id, $block_order)

No description

bool
isCheckedOut()

checks if the page is checked out, if it is return true.

getCollectionCheckedOutUserName()

Gets the user that is editing the current page.

bool
isCheckedOutByMe()

Checks if the page is checked out by the current user.

bool
isGeneratedCollection()

Checks if the page is a single page.

setPermissionsToOverride()

No description

removePermissions($userOrGroup, $permissions = [])

No description

static 
getDraftsParentPage(Site $site = null)

No description

static 
getDrafts(Site $site)

No description

isPageDraft()

No description

static 
translatePermissionsXMLToKeys($node)

No description

setController($controller)

No description

getController() deprecated

No description

assignPermissionSet($px)

No description

int
addCollectionAlias(Collection $c)

Make an alias to a page.

updateCollectionAliasExternal(string $cName, string $cLink, bool $newWindow)

Update the name, link, and to open in a new window for an external link.

int
addCollectionAliasExternal(string $cName, string $cLink, bool $newWindow)

Add a new external link.

bool
isSystemPage()

Returns true if a page is a system page. A system page is either a page that is outside the site tree (has a site tree ID of 0) or a page that is in the site tree, but whose parent starts at 0. That means its a root level page. Why do we need this separate boolean then? Because we need to easily be able to filter all pages by whether they're a system page even if we don't necessarily know where their starting page is.

string
getCollectionIcon()

Gets the icon for a page (also fires the on_page_get_icon event).

int
removeThisAlias()

Remove an external link/alias.

populateRecursivePages($pages, $pageRow, $cParentID, $level, $includeThisPage = true)

No description

queueForDeletionSort($a, $b)

No description

queueForDuplicationSort($a, $b)

No description

queueForDeletion()

No description

queueForDeletionRequest($queue = null, $includeThisPage = true)

No description

queueForDuplication($destination, $includeParent = true)

No description

export($pageNode) deprecated

No description

int
getCollectionCheckedOutUserID()

Returns the uID for a page that is checked out.

string
getCollectionPath()

Returns the path for the current page.

getCollectionPathObject()

Returns the PagePath object for the current page.

addAdditionalPagePath($cPath, $commit = true)

Adds a non-canonical page path to the current page.

setCanonicalPagePath($cPath, $isAutoGenerated = false)

Sets the canonical page path for a page.

getPagePaths()

No description

getAdditionalPagePaths()

No description

clearPagePaths()

Clears all page paths for a page.

string
getCollectionLink($appendBaseURL = false)

Returns full url for the current page.

int|null
getSiteTreeID()

No description

getSite()

No description

Tree|null
getSiteTreeObject()

No description

static string
getCollectionPathFromID(int $cID)

Returns the path for a page from its cID.

int
getCollectionUserID()

Returns the uID for a page ownder.

string
getCollectionHandle()

Returns the page's handle.

getCollectionTypeName() deprecated

No description

getPageTypeName()

No description

getCollectionTypeID() deprecated

No description

int
getPageTypeID()

Returns the Collection Type ID.

getPageTypeObject()

No description

int
getPageTemplateID()

Returns the Page Template ID.

PageTemplate
getPageTemplateObject()

Returns the Page Template Object.

string
getPageTemplateHandle()

Returns the Page Template handle.

string
getPageTypeHandle()

Returns the Collection Type handle.

getCollectionTypeHandle()

No description

int
getCollectionThemeID()

Returns theme id for the collection.

bool
isBlockAliasedFromMasterCollection(Block $b)

Check if a block is an alias from a page default.

getCollectionThemeObject()

Returns Collection's theme object.

string
getCollectionName()

Returns the page's name.

int
getCollectionPointerID()

Returns the collection ID for the aliased page (returns 0 unless used on an actual alias).

string
getCollectionPointerExternalLink()

Returns link for the aliased page.

bool
openCollectionPointerExternalLinkInNewWindow()

Returns if the alias opens in a new window.

bool
isAlias()

Checks to see if the page is an alias.

bool
isExternalLink()

Checks if a page is an external link.

int
getCollectionPointerOriginalID()

Get the original cID of a page.

string
getCollectionFilename()

Get the file name of a page (single pages).

string
getCollectionDatePublic()

Gets the date a the current version was made public,.

DateTime|null
string
getCollectionDescription()

Get the description of a page.

int
getCollectionParentID()

Gets the cID of the page's parent.

static int
getCollectionParentIDFromChildID(int $cID)

Get the Parent cID from a page by using a cID.

array
getCollectionParentIDs()

Returns an array of this cParentID and aliased parentIDs.

bool
isMasterCollection()

Checks if a page is a page default.

string
overrideTemplatePermissions()

Gets the template permissions.

int
getCollectionDisplayOrder()

Gets the position of the page in the sitemap.

setTheme(PageTheme $pl)

Set the theme for a page using the page object.

setPageType(Type $type = null)

Set the theme for a page using the page object.

setPermissionsInheritanceToTemplate()

Set the permissions of sub-collections added beneath this permissions to inherit from the template.

setPermissionsInheritanceToOverride()

Set the permissions of sub-collections added beneath this permissions to inherit from the parent.

getPermissionsCollectionID()

No description

getCollectionInheritance()

No description

getMasterCollectionID()

Given the current page's template and page type, we return the master page.

getOriginalCollectionID()

No description

getNumChildren()

No description

getNumChildrenDirect()

No description

getFirstChild(string $sortColumn = 'cDisplayOrder asc')

Returns the first child of the current page, or null if there is no child.

getCollectionChildrenArray($oneLevelOnly)

No description

getCollectionChildren()

Returns the immediate children of the current page.

_getNumChildren($cID, $oneLevelOnly, $sortColumn = 'cDisplayOrder asc')

No description

canMoveCopyTo($cobj)

No description

updateCollectionName($name)

No description

hasPageThemeCustomizations()

No description

resetCustomThemeStyles()

No description

setCustomStyleObject(Theme $pt, ValueList $valueList, $selectedPreset = false, CustomCssRecord $customCssRecord = null)

No description

getPageWrapperClass()

No description

writePageThemeCustomizations()

No description

static 
resetAllCustomStyles()

No description

update($data)

No description

clearPagePermissions()

No description

inheritPermissionsFromParent()

No description

rescanAreaPermissions()

No description

setOverrideTemplatePermissions($cOverrideTemplatePermissions)

No description

updatePermissionsCollectionID($cParentIDString, $npID)

No description

acquireAreaPermissions($permissionsCollectionID)

No description

acquirePagePermissions($permissionsCollectionID)

No description

__destruct()

No description

updateGroupsSubCollection($cParentIDString)

No description

Block
addBlock(BlockType $bt, Area $a, array $data)

Adds a block to the page.

getPageRelations()

No description

move($nc)

No description

duplicateAll($nc = null, $preserveUserID = false, Site $site = null)

No description

_duplicateAll($cParent, $cNewParent, $preserveUserID = false, Site $site = null)

No description

duplicate($nc = null, $preserveUserID = false, TreeInterface $site = null)

No description

delete()

No description

moveToTrash()

No description

rescanChildrenDisplayOrder()

No description

isHomePage()

No description

int|null
getSiteHomePageID()

Get the ID of the homepage for the site tree this page belongs to.

bool
isLocaleHomePage()

Is this page the homepage of a site tree?

static int|null
getHomePageID(Page|int $page = null)

Get the ID of the home page.

getNextSubPageDisplayOrder()

No description

generatePagePath()

Returns the URL-slug-based path to the current page (including any suffixes) in a string format. Does so in real time.

rescanCollectionPath()

Recalculates the canonical page path for the current page, based on its current version, URL slug, etc.

string
computeCanonicalPagePath()

For the curret page, return the text that will be used for that pages canonical path. This happens before any uniqueness checks get run.

updateDisplayOrder($do, $cID)

No description

movePageDisplayOrderToTop()

No description

movePageDisplayOrderToBottom()

No description

movePageDisplayOrderToSibling(Page $c, $position = 'before')

No description

rescanSystemPageStatus()

Looks at the current page. If the site tree ID is 0, sets system page to true.

isInTrash()

No description

moveToRoot()

No description

deactivate()

No description

setPageToDraft()

No description

activate()

No description

isActive()

No description

setPageIndexScore($score)

No description

getPageIndexScore()

No description

getPageIndexContent()

No description

_associateMasterCollectionBlocks($newCID, $masterCID, $cAcquireComposerOutputControls)

No description

_associateMasterCollectionAttributes($newCID, $masterCID)

No description

static page
addHomePage(TreeInterface $siteTree = null)

Adds the home page to the system. Typically used only by the installation program.

page
add($pt, $data, $template = false)

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.

acquireAreaStylesFromDefaults(Template $template)

No description

getCustomStyleObject()

No description

getCollectionFullPageCaching()

No description

static 
addStatic($data, TreeInterface $parent = null)

No description

static 
getCurrentPage()

No description

setPageDraftTargetParentPageID($cParentID)

No description

Details

assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)

Parameters

$userOrGroup
$permissions
$accessType
$cascadeToChildren

static Page getByPath($path, $version = 'RECENT', TreeInterface $tree = null)

Parameters

$path
$version
TreeInterface $tree

Return Value

Page

CategoryInterface getObjectAttributeCategory()

Return Value

CategoryInterface

static Page getByID(int $cID, string $version = 'RECENT')

Parameters

int $cID Collection ID of a page
string $version ACTIVE or RECENT

Return Value

Page

__construct()

ItemInterface getExporter()

Return Value

ItemInterface

protected populatePage($cInfo, $where, $cvID)

Parameters

$cInfo
$where
$cvID

getPermissionResponseClassName()

getPermissionAssignmentClassName()

getPermissionObjectKeyCategoryHandle()

getJSONObject()

Return a representation of the Page object as something easily serializable.

PageController getPageController()

Return Value

PageController

getPermissionObjectIdentifier()

bool isEditMode()

Is the page in edit mode.

Return Value

bool

int getPackageID()

Get the package ID for a page (page thats added by a package) (returns 0 if its not in a package).

Return Value

int

string getPackageHandle()

Get the package handle for a page (page thats added by a package).

Return Value

string

bool isArrangeMode()

Returns 1 if the page is in arrange mode.

Return Value

bool

forceCheckIn()

Forces the page to be checked in if its checked out.

static forceCheckInForAllPages()

bool isAdminArea()

Checks if the page is a dashboard page, returns true if it is.

Return Value

bool

static getFromRequest(Request $request)

Uses a Request object to determine which page to load. queries by path and then by cID.

Parameters

Request $request

processArrangement($area_id, $moved_block_id, $block_order)

Parameters

$area_id
$moved_block_id
$block_order

bool isCheckedOut()

checks if the page is checked out, if it is return true.

Return Value

bool

getCollectionCheckedOutUserName()

Gets the user that is editing the current page.

$return string $name.

bool isCheckedOutByMe()

Checks if the page is checked out by the current user.

Return Value

bool

bool isGeneratedCollection()

Checks if the page is a single page.

Return Value

bool

setPermissionsToOverride()

setChildPermissionsToOverride()

removePermissions($userOrGroup, $permissions = [])

Parameters

$userOrGroup
$permissions

static getDraftsParentPage(Site $site = null)

Parameters

Site $site

static getDrafts(Site $site)

Parameters

Site $site

isPageDraft()

static private translatePermissionsXMLToKeys($node)

Parameters

$node

setController($controller)

Parameters

$controller

getController() deprecated

deprecated

assignPermissionSet($px)

Parameters

$px

int addCollectionAlias(Collection $c)

Make an alias to a page.

Parameters

Collection $c

Return Value

int $newCID

updateCollectionAliasExternal(string $cName, string $cLink, bool $newWindow)

Update the name, link, and to open in a new window for an external link.

Parameters

string $cName
string $cLink
bool $newWindow

int addCollectionAliasExternal(string $cName, string $cLink, bool $newWindow)

Add a new external link.

Parameters

string $cName
string $cLink
bool $newWindow

Return Value

int $newCID

bool isSystemPage()

Returns true if a page is a system page. A system page is either a page that is outside the site tree (has a site tree ID of 0) or a page that is in the site tree, but whose parent starts at 0. That means its a root level page. Why do we need this separate boolean then? Because we need to easily be able to filter all pages by whether they're a system page even if we don't necessarily know where their starting page is.

Return Value

bool

string getCollectionIcon()

Gets the icon for a page (also fires the on_page_get_icon event).

Return Value

string $icon Path to the icon

int removeThisAlias()

Remove an external link/alias.

Return Value

int $cIDRedir cID for the original page if the page was an alias

populateRecursivePages($pages, $pageRow, $cParentID, $level, $includeThisPage = true)

Parameters

$pages
$pageRow
$cParentID
$level
$includeThisPage

queueForDeletionSort($a, $b)

Parameters

$a
$b

queueForDuplicationSort($a, $b)

Parameters

$a
$b

queueForDeletion()

queueForDeletionRequest($queue = null, $includeThisPage = true)

Parameters

$queue
$includeThisPage

queueForDuplication($destination, $includeParent = true)

Parameters

$destination
$includeParent

export($pageNode) deprecated

deprecated

Parameters

$pageNode

int getCollectionCheckedOutUserID()

Returns the uID for a page that is checked out.

Return Value

int

string getCollectionPath()

Returns the path for the current page.

Return Value

string

getCollectionPathObject()

Returns the PagePath object for the current page.

addAdditionalPagePath($cPath, $commit = true)

Adds a non-canonical page path to the current page.

Parameters

$cPath
$commit

setCanonicalPagePath($cPath, $isAutoGenerated = false)

Sets the canonical page path for a page.

Parameters

$cPath
$isAutoGenerated

getPagePaths()

getAdditionalPagePaths()

clearPagePaths()

Clears all page paths for a page.

Returns full url for the current page.

Parameters

$appendBaseURL

Return Value

string

int|null getSiteTreeID()

Return Value

int|null

Site getSite()

Return Value

Site

Tree|null getSiteTreeObject()

Return Value

Tree|null

See also

\Concrete\Core\Site\Tree\TreeInterface::getSiteTreeObject()

static string getCollectionPathFromID(int $cID)

Returns the path for a page from its cID.

Parameters

int $cID cID

Return Value

string $path

int getCollectionUserID()

Returns the uID for a page ownder.

Return Value

int

string getCollectionHandle()

Returns the page's handle.

Return Value

string

getCollectionTypeName() deprecated

deprecated

getPageTypeName()

getCollectionTypeID() deprecated

deprecated

int getPageTypeID()

Returns the Collection Type ID.

Return Value

int

getPageTypeObject()

int getPageTemplateID()

Returns the Page Template ID.

Return Value

int

PageTemplate getPageTemplateObject()

Returns the Page Template Object.

Return Value

PageTemplate

string getPageTemplateHandle()

Returns the Page Template handle.

Return Value

string

string getPageTypeHandle()

Returns the Collection Type handle.

Return Value

string

getCollectionTypeHandle()

int getCollectionThemeID()

Returns theme id for the collection.

Return Value

int

bool isBlockAliasedFromMasterCollection(Block $b)

Check if a block is an alias from a page default.

Parameters

Block $b

Return Value

bool

Theme getCollectionThemeObject()

Returns Collection's theme object.

Return Value

Theme

string getCollectionName()

Returns the page's name.

Return Value

string

int getCollectionPointerID()

Returns the collection ID for the aliased page (returns 0 unless used on an actual alias).

Return Value

int

Returns link for the aliased page.

Return Value

string

bool openCollectionPointerExternalLinkInNewWindow()

Returns if the alias opens in a new window.

Return Value

bool

bool isAlias()

Checks to see if the page is an alias.

Return Value

bool

Checks if a page is an external link.

Return Value

bool

int getCollectionPointerOriginalID()

Get the original cID of a page.

Return Value

int

string getCollectionFilename()

Get the file name of a page (single pages).

Return Value

string

string getCollectionDatePublic()

Gets the date a the current version was made public,.

Return Value

string date formated like: 2009-01-01 00:00:00

DateTime|null getCollectionDatePublicObject()

Return Value

DateTime|null Returns the \DateTime instance (or null if the current version doesn't have public date)

string getCollectionDescription()

Get the description of a page.

Return Value

string

int getCollectionParentID()

Gets the cID of the page's parent.

Return Value

int

static int getCollectionParentIDFromChildID(int $cID)

Get the Parent cID from a page by using a cID.

Parameters

int $cID

Return Value

int

array getCollectionParentIDs()

Returns an array of this cParentID and aliased parentIDs.

Return Value

array $cID

bool isMasterCollection()

Checks if a page is a page default.

Return Value

bool

string overrideTemplatePermissions()

Gets the template permissions.

Return Value

string

int getCollectionDisplayOrder()

Gets the position of the page in the sitemap.

Return Value

int

setTheme(PageTheme $pl)

Set the theme for a page using the page object.

Parameters

PageTheme $pl

setPageType(Type $type = null)

Set the theme for a page using the page object.

Parameters

Type $type

setPermissionsInheritanceToTemplate()

Set the permissions of sub-collections added beneath this permissions to inherit from the template.

setPermissionsInheritanceToOverride()

Set the permissions of sub-collections added beneath this permissions to inherit from the parent.

getPermissionsCollectionID()

getCollectionInheritance()

getParentPermissionsCollectionID()

getPermissionsCollectionObject()

getMasterCollectionID()

Given the current page's template and page type, we return the master page.

getOriginalCollectionID()

getNumChildren()

getNumChildrenDirect()

Page getFirstChild(string $sortColumn = 'cDisplayOrder asc')

Returns the first child of the current page, or null if there is no child.

Parameters

string $sortColumn

Return Value

Page

getCollectionChildrenArray($oneLevelOnly)

Parameters

$oneLevelOnly

getCollectionChildren()

Returns the immediate children of the current page.

protected _getNumChildren($cID, $oneLevelOnly, $sortColumn = 'cDisplayOrder asc')

Parameters

$cID
$oneLevelOnly
$sortColumn

canMoveCopyTo($cobj)

Parameters

$cobj

updateCollectionName($name)

Parameters

$name

hasPageThemeCustomizations()

resetCustomThemeStyles()

setCustomStyleObject(Theme $pt, ValueList $valueList, $selectedPreset = false, CustomCssRecord $customCssRecord = null)

Parameters

Theme $pt
ValueList $valueList
$selectedPreset
CustomCssRecord $customCssRecord

getPageWrapperClass()

writePageThemeCustomizations()

static resetAllCustomStyles()

update($data)

Parameters

$data

clearPagePermissions()

inheritPermissionsFromParent()

inheritPermissionsFromDefaults()

setPermissionsToManualOverride()

rescanAreaPermissions()

setOverrideTemplatePermissions($cOverrideTemplatePermissions)

Parameters

$cOverrideTemplatePermissions

updatePermissionsCollectionID($cParentIDString, $npID)

Parameters

$cParentIDString
$npID

acquireAreaPermissions($permissionsCollectionID)

Parameters

$permissionsCollectionID

acquirePagePermissions($permissionsCollectionID)

Parameters

$permissionsCollectionID

__destruct()

updateGroupsSubCollection($cParentIDString)

Parameters

$cParentIDString

Block addBlock(BlockType $bt, Area $a, array $data)

Adds a block to the page.

Parameters

BlockType $bt The type of block to be added.
Area $a The area the block will appear.
array $data An array of settings for the block.

Return Value

Block

getPageRelations()

move($nc)

Parameters

$nc

duplicateAll($nc = null, $preserveUserID = false, Site $site = null)

Parameters

$nc
$preserveUserID
Site $site

protected _duplicateAll($cParent, $cNewParent, $preserveUserID = false, Site $site = null)

Parameters

$cParent
$cNewParent
$preserveUserID
Site $site

duplicate($nc = null, $preserveUserID = false, TreeInterface $site = null)

Parameters

$nc
$preserveUserID
TreeInterface $site

delete()

moveToTrash()

rescanChildrenDisplayOrder()

isHomePage()

int|null getSiteHomePageID()

Get the ID of the homepage for the site tree this page belongs to.

Return Value

int|null Returns NULL if there's no default locale

bool isLocaleHomePage()

Is this page the homepage of a site tree?

Return Value

bool

static int|null getHomePageID(Page|int $page = null)

Get the ID of the home page.

Parameters

Page|int $page The page (or its ID) for which you want the home (if not specified, we'll use the default locale site tree).

Return Value

int|null Returns NULL if $page is null (or it doesn't have a SiteTree associated) and if there's no default locale.

getAutoGeneratedPagePathObject()

getNextSubPageDisplayOrder()

generatePagePath()

Returns the URL-slug-based path to the current page (including any suffixes) in a string format. Does so in real time.

rescanCollectionPath()

Recalculates the canonical page path for the current page, based on its current version, URL slug, etc.

.

protected string computeCanonicalPagePath()

For the curret page, return the text that will be used for that pages canonical path. This happens before any uniqueness checks get run.

Return Value

string

updateDisplayOrder($do, $cID)

Parameters

$do
$cID

movePageDisplayOrderToTop()

movePageDisplayOrderToBottom()

movePageDisplayOrderToSibling(Page $c, $position = 'before')

Parameters

Page $c
$position

rescanSystemPageStatus()

Looks at the current page. If the site tree ID is 0, sets system page to true.

If the site tree is not user, looks at where the page falls in the hierarchy. If it's inside a page at the top level that has 0 as its parent, then it is considered a system page.

isInTrash()

moveToRoot()

deactivate()

setPageToDraft()

activate()

isActive()

setPageIndexScore($score)

Parameters

$score

getPageIndexScore()

getPageIndexContent()

protected _associateMasterCollectionBlocks($newCID, $masterCID, $cAcquireComposerOutputControls)

Parameters

$newCID
$masterCID
$cAcquireComposerOutputControls

protected _associateMasterCollectionAttributes($newCID, $masterCID)

Parameters

$newCID
$masterCID

static page addHomePage(TreeInterface $siteTree = null)

Adds the home page to the system. Typically used only by the installation program.

Parameters

TreeInterface $siteTree

Return Value

page

page add($pt, $data, $template = false)

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.

Parameters

$pt
$data
$template

Return Value

page

protected acquireAreaStylesFromDefaults(Template $template)

Parameters

Template $template

getCustomStyleObject()

getCollectionFullPageCaching()

getCollectionFullPageCachingLifetime()

getCollectionFullPageCachingLifetimeCustomValue()

getCollectionFullPageCachingLifetimeValue()

static addStatic($data, TreeInterface $parent = null)

Parameters

$data
TreeInterface $parent

static getCurrentPage()

getPageDraftTargetParentPageID()

setPageDraftTargetParentPageID($cParentID)

Parameters

$cParentID