public function getAllAttachments()
    {
        $iTotalAttachments = $this->GetAttachmentsCount();
        $listAttachments = array();
        for ($index = 1; $index <= $iTotalAttachments; $index++) {
            array_push($listAttachments, $this->GetAttachment($index));
        }
        return $listAttachments;
    }
public function getAllAttachments()
    {
        $iTotalAttachments = $this->GetAttachmentsCount();
        $listAttachments = array();
        for ($index = 1; $index <= $iTotalAttachments; $index++) {
            array_push($listAttachments, $this->GetAttachment($index));
        }
        return $listAttachments;
    }
public function getAllAttachments ( ) { $ iTotalAttachments = $ this -> GetAttachmentsCount ( ) ; $ listAttachments = array ( ) ; for ( $ index = 1 ; $ index <= $ iTotalAttachments ; $ index ++ ) { array_push ( $ listAttachments , $ this -> GetAttachment ( $ index ) ) ; } return $ listAttachments ; }
Gets List of all the attachments in Pdf document.

@return array
@throws Exception
Gets List of all the attachments in Pdf document .