Skip to main content
Skip table of contents

ArticleExtensionModel

A specialized model for assets mapping download data information. It uses values from configuration path 'media-portal/icon-definitions/download-files' and 'media-portal/storage-definitions/'.

implements: hash
bundle: standard portal bundle
since 2.0.0
A specialized model for assets mapping download data information. It uses values from configuration path 'media-portal/icon-definitions/download-files' and 'media-portal/storage-definitions/'.

Defined hash keys

hasLock.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is secured by an active lock by permission rights management

  • Example:
    model.hasLock.elem - is elem in model guarded by an active permission lock?
    article.hasLock.text - Returns if there is a permission lock for text configured in 'article' ? (In this example 'article' is of of type ArticleModel)

isLocked.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is is locked for current user by permission rights management

  • Example:
    model.isLocked.elem -- is value for elem in model locked for current logged-in user?
    article.isLocked.text -- Returns if the value for 'text' within 'article' is locked (not accessible) for current user. (In this example 'article' is of of type ArticleModel)

isShareBtnEnabled ↦ boolean
since 2.0.86
get value of feature 'censhare:module.oc.sharebuttons-enabled'

teaserLabelCategoryModel
since 2.1.2
get category from asset's feature 'censhare:teaser-label'

Permission Verbs used

article.isShareBtnEnabled
since 2.0.86 'article.isShareBtnEnabled' - guards requests to '→isShareBtnEnabled'

article.teaserLabel
since 2.1.2 'article.teaserLabel' - guards requests to '→teaserLabel'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.