Ejemplo n.º 1
0
 /**
  * Return the HTML code for custom simple tag _ACT
  *
  * @param Certificate $certificatePath Certificate (as per the GEDCOM)
  * @param string|null $sid Linked Source ID, if it exists
  */
 protected function getDisplay_ACT(Certificate $certificate, $sid = null)
 {
     $html = '';
     if ($certificate) {
         $certificate->setSource($sid);
         $html = $certificate->displayImage('icon');
     }
     return $html;
 }