Version
class Version extends Object implements ObjectInterface, ObjectInterface (View source)
Traits
Properties
$error | from Object | ||
$cvID | |||
$cvIsApproved | |||
$cvIsNew | |||
$cvHandle | |||
$cvName | |||
$cvDescription | |||
$cvDateCreated | |||
$cvDatePublic | |||
$pTemplateID | |||
$cvAuthorUID | |||
$cvApproverUID | |||
$cvComments | |||
$pThemeID | |||
$cvPublishDate | |||
$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
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
Details
in
Object at line 10
loadError($error)
No description
in
Object at line 15
isError()
No description
in
Object at line 25
getError()
No description
in
Object at line 30
setPropertiesFromArray($arr)
No description
in
Object at line 37
static
camelcase($file)
No description
in
Object at line 42
static
uncamelcase($string)
No description
CategoryInterface
getObjectAttributeCategory()
No description
getAttributeValueObject($ak, $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
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
createNew($versionComments)
No description
approve($doReindexImmediately = true, $scheduleDatetime = null)
No description
discard()
No description
canDiscard()
No description
removeNewStatus()
No description
deny()
No description
delete()
No description
private
clearPublishDates()
No description