.. _ffilesforitem: ################################################################## ``files_for_item`` — Get HTML for all files assigned to an item. ################################################################## :doc:`Item-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/files_for_item.rst .. php:function:: files_for_item($options = array(), $wrapperAttributes = array('class' => 'item-file'), $item = null) Get HTML for all files assigned to an item. :type $options: array :param $options: :type $wrapperAttributes: array :param $wrapperAttributes: :type $item: Item|null :param $item: Check for this specific item record (current item if null). :returns: string HTML ***** Usage ***** .. include:: /Reference/libraries/globals/usage/files_for_item.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/files_for_item.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/files_for_item.rst