Type
class Type extends ConcreteObject implements ObjectInterface, AssignableObjectInterface (View source)
Traits
Properties
$error | from ConcreteObject | ||
protected | $ptDefaultPageTemplateID | ||
protected | $ptDefaultThemeID |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns true if pages of the current type are allowed beneath the passed parent page.
No description
No description
No description
Details
loadError($error)
No description
isError()
No description
getError()
No description
setPropertiesFromArray($arr)
No description
static
camelcase($file)
No description
static
uncamelcase($string)
No description
assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)
No description
getPageTypeID()
No description
getPageTypeName()
No description
getSiteTypeID()
No description
getSiteTypeObject()
No description
getPageTypeDisplayName($format = 'html')
No description
getPageTypeHandle()
No description
getPageTypePublishTargetTypeID()
No description
Configuration
getPageTypePublishTargetObject()
No description
getPageTypeAllowedPageTemplates()
No description
getPageTypeDefaultPageTemplateID()
No description
getPageTypeDefaultThemeID()
No description
getPageTypeDefaultPageTemplateObject()
No description
getPageTypeDefaultThemeObject()
No description
getPermissionObjectIdentifier()
No description
isPageTypeFrequentlyAdded()
No description
getPageTypeDisplayOrder()
No description
getPermissionResponseClassName()
No description
getPermissionAssignmentClassName()
No description
getPermissionObjectKeyCategoryHandle()
No description
setChildPermissionsToOverride()
No description
setPermissionsToOverride()
No description
isPageTypeInternal()
No description
doesPageTypeLaunchInComposer()
No description
getPackageID()
No description
getPackageHandle()
No description
protected
stripEmptyPageTypeComposerControls(Page $c)
No description
publish(Page $c, $requestOrDateTime = null, $cvPublishEndDate = null, bool $keepOtherScheduling = false)
No description
savePageTypeComposerForm(Page $c)
deprecated
deprecated
No description
getPageTypeSelectedPageTemplateObjects()
No description
static
getByDefaultsPage(Page $c)
No description
getPageTypePageTemplateDefaultPageObject(Template $template = null)
No description
getPageTypePageTemplateObjects()
No description
static
importTargets($node)
No description
static
import($node)
No description
static
importContent($node)
No description
export($nxml)
No description
static
exportList($xml)
No description
rescanPageTypeComposerOutputControlObjects()
No description
getPageTypeUsageCount()
No description
duplicate($ptHandle, $ptName, $siteType = null)
No description
static Type|mixed|null
add(array $data, bool|Package $pkg = false)
Add a page type.
update($data)
No description
protected
rescanPageTypePageTemplateDefaultPages()
No description
static
getList($includeInternal = false, $siteType = null)
No description
static protected
returnList($ptIDs)
No description
static
getFrequentlyUsedList($siteType = null)
No description
static
getInfrequentlyUsedList($siteType = null)
No description
static
getListByPackage($pkg)
No description
static
getListByDefaultPageTemplate($templateOrTemplateID)
No description
static
getByID($ptID)
No description
static
getByHandle($ptHandle)
No description
delete()
No description
setConfiguredPageTypePublishTargetObject(Configuration $configuredTarget)
No description
rescanFormLayoutSetDisplayOrder()
No description
addPageTypeComposerFormLayoutSet($ptComposerFormLayoutSetName, $ptComposerFormLayoutSetDescription, $collapseType = '')
No description
canPublishPageTypeBeneathPage(Page $page)
Returns true if pages of the current type are allowed beneath the passed parent page.
ValidatorInterface|null
getPageTypeValidatorObject()
No description
SaverInterface|null
getPageTypeSaverObject()
No description
createDraft(Template $pt, $u = false)
No description
renderComposerOutputForm($page = null, $targetPage = null)
No description