code: protected function arrayToDtDd(array $array, array $skipKeys=array()) {
          $output = '<dl>';
          foreach ($array as $key => $value) {
  
              if (in_array($key, $skipKeys)) {
                  continue;
              }
  
              if (is_array($value)) {
                  $value = $this->arrayToDtDd($value);
              }
              if (is_int($key)) {
                  $output .= $value . '<br />';
              } else {
                  $output .= '<dt>'.ucfirst($key).':</dt><dd>';
                  $output .= $value;
                  $output .= '</dd>';
              }
          }
          $output .= '</dl>';
          return $output;
      }
docs: Render array as <dl>
  
  @param array $array
  @param array $skipKeys
  @return string