DATA Methods

parents()

Returns parent-data of current content template. This function is only applicable if a parent table has been assigned in the backend's tables settings and it only works inside content templates.

array parents()

Return

Parent-data of currently selected content record.


Get parent data of current template's table

$DATA->parents()
RETURN: ARRAY [1]