Breadcrumbs

AcceptedTOUs

Access the 'terms-of-use articles' and the dates current user has agreed on them.

implements: bean
bundle: standard portal bundle
since 2.0.0
Access the 'terms-of-use articles' and the dates current user has agreed on them.

All accessible elements are defined in the global namespace 'custom.portal.acceptedTous' and therefore prefixed with it.

Extension

custom.portal.acceptedToussequence<sequence<AssetModel, Date>>
since 2.0.0
Access a sequence of 'terms-of-use articles' and 'acceptance date' tuple user has agreed to. The sequence of tuples raises access to an inner sequence with two elements such as

  • 'custom.portal.acceptedTous[X]' is a wrapped asset (usually an article) with feature 'censhare:module.oc.portal.tou-accepted' specifying type

  • 'custom.portal.acceptedTous[X]'

    • is the date user has accepted these terms

  • Example:
    custom.portal.acceptedTous[X][0].id==> '14082'
    custom.portal.acceptedTous[X][0].title==> 'Terms of Use'
    custom.portal.acceptedTous[X][1]?date==> '04.01.2017'