DataItem

New in 1.34.0 (BETA)

DataItem

A DataItem represents one piece of data, similar to how an Obj represents one piece of CMS content.

Instance method summary

  • New in 1.34.0 (BETA)
    Returns the DataClass instance of the DataItem.
  • New in 1.34.0 (BETA)
    Destroys the DataItem by calling the delete callback of the DataClass.
  • New in 1.34.0 (BETA)
    Returns the value of the specified DataItem attribute.
  • New in 1.34.0 (BETA)
    Returns the ID of the DataItem.
  • New in 1.34.0 (BETA)
    Returns an Obj if the DataItem wraps a CMS Obj.
  • New in 1.34.0 (BETA)
    Updates data and of the corresponding instance of the DataItem. The attributes are provided to the corresponding update callback.