------- Element ------- .. php:class:: Element Package: :doc:`Record ` An element and its metadata. .. php:attr:: element_set_id .. php:attr:: order .. php:attr:: name .. php:attr:: description .. php:attr:: comment .. php:method:: setElementSet(string $elementSetName) Set the element set for the element. :param string $elementSetName: :returns: void .. php:method:: getElementSet() Return the ElementSet objection for this element. :returns: ElementSet .. php:method:: setOrder(integer $order) Set the order of the element within its element set. :param integer $order: :returns: void .. php:method:: setName(string $name) Set the name of the element. :param string $name: :returns: void .. php:method:: setDescription(string $description) Set the description for the element. :param string $description: :returns: void .. php:method:: setComment($comment) :param unknown $comment: .. php:method:: setArray(array|string $data) :param array|string $data: If string, it's the name of the element. Otherwise, array of metadata for the element. May contain the following keys in the array: .. raw:: html