Version
class Version extends ConcreteObject implements ObjectInterface, ObjectInterface (View source)
Traits
Properties
$error | from ConcreteObject | ||
$cvID | |||
$cvIsApproved | |||
$cvIsNew | |||
$cvHandle | |||
$cvName | |||
$cvDescription | |||
$cvDateCreated | |||
$cvDatePublic | |||
$pTemplateID | |||
$cvAuthorUID | |||
$cvApproverUID | |||
$cvComments | |||
$pThemeID | |||
$cvPublishDate | |||
$cvPublishEndDate | |||
$cID | |||
protected | $attributes | ||
$layoutStyles | |||
protected | $isMostRecent | ||
protected | $customAreaStyles |
Methods
No description
No description
Sets the attribute of a user info object to the specified value, and saves it in the database.
No description
No description
No description
No description
No description
Get a Version instance given the Collection and a version identifier.
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
Gets the date the collection version was created.
No description
No description
No description
No description
No description
No description
No description
No description
No description
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
CategoryInterface
getObjectAttributeCategory()
No description
AttributeValueInterface|null
getAttributeValueObject(AttributeKeyInterface|string $ak, bool $createIfNotExists = false)
No description
getAttribute($ak, $mode = false)
No description
Value
getAttributeValue($ak)
No description
clearAttribute($ak)
No description
Value
setAttribute($ak, mixed $value)
Sets the attribute of a user info object to the specified value, and saves it in the database.
getPermissionObjectIdentifier()
No description
getPermissionResponseClassName()
No description
getPermissionAssignmentClassName()
No description
getPermissionObjectKeyCategoryHandle()
No description
refreshCache()
No description
static Version
get(Collection $c, int|string $cvID)
Get a Version instance given the Collection and a version identifier.
isApproved()
No description
getPublishDate()
No description
getPublishEndDate()
No description
isMostRecent()
No description
isNew()
No description
getVersionID()
No description
getCollectionID()
No description
getVersionName()
No description
getVersionComments()
No description
getVersionAuthorUserID()
No description
getVersionApproverUserID()
No description
getVersionAuthorUserName()
No description
getVersionApproverUserName()
No description
getCustomAreaStyles()
No description
string
getVersionDateCreated()
Gets the date the collection version was created.
setComment($comment)
No description
setPublishDate($publishDate)
No description
setPublishEndDate($publishEndDate)
No description
createNew($versionComments)
No description
approve($doReindexImmediately = true, $cvPublishDate = null, $cvPublishEndDate = null)
No description
discard()
No description
canDiscard()
No description
removeNewStatus()
No description
deny()
No description
delete()
No description
private
clearPublishStartDate()
No description
private
clearPublishEndDate()
No description