public function getAttachments() { $attachments = \Attachment::GetTotalAttachments(); return $attachments; }