Tag item files
From b2evolution manual
Display the attachments/files linked to the current item.
[edit] Example
<?php $Item->files( array( 'before' => '<ul class="bFiles">', 'before_file' => '<li>', 'before_file_size' => '<span class="file_size">', 'after_file_size' => '</span>', 'after_file' => '</li>', 'after' => '</ul>', 'limit_files' => 1000 ) ); ?>
[edit] Parameters
| Name | Default | Usage |
|---|---|---|
| before | '<ul class="bFiles">' | Displayed before all of the attachments/files. |
| before_file | '<li>' | Displayed before the attachment/file. |
| before_file_size | '<span class="file_size">' | Displayed before the attachment/file size. |
| after_file_size | '</span>' | Displayed after the attachment/file size. |
| after_file | '</li>' | Displayed after the attachment/file. |
| after | '</ul>' | Displayed after all of the attachments/files. |
| limit_files | 1000 | Maximum of files displayed. if 'limit_files' => '#' then no limitation. |
[edit] Return value
This tag displays content only, it does not have a return value.

