/** * Read additional information from the attachment and add to the information array * * With images, it evaluates reads image size information from parameters. * * @param &$info Information array * @param midcom_db_attachment $att Attachment to update information from */ private function _update_attachment_info_additional(&$info, $att) { $info['size_x'] = $att->get_parameter('midcom.helper.datamanager2.type.blobs', 'size_x'); $info['size_y'] = $att->get_parameter('midcom.helper.datamanager2.type.blobs', 'size_y'); $info['size_line'] = $att->get_parameter('midcom.helper.datamanager2.type.blobs', 'size_line'); }