\org_openpsa_helpers

Summary

Methods
Properties
Constants
render_fileinfo()
get_dm2_attachments()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

render_fileinfo()

render_fileinfo(  $object,   $field) 

Parameters

$object
$field

get_dm2_attachments()

get_dm2_attachments(\midcom_core_dbaobject  $object, string  $field) : array<mixed,\midcom_db_attachment>

Parameters

\midcom_core_dbaobject $object

The object we're working on

string $field

The schema field name

Returns

array<mixed,\midcom_db_attachment> —

List of attachments, indexed by identifier