/**
  * Get a h tag element
  * @param int $number - The header level 1-6
  * @param string $content - The header's text
  * @param array $options - Html options
  * @param bool $isPageHeader - True to append the page-header class
  * @return <h> tag
  */
 public function getHeader($number, $content, $options = [], $isPageHeader = false)
 {
     if ($isPageHeader) {
         $options['class'] = GeneralFunctions::combineValues($options, 'class', BootstrapClasses::PAGE_HEADER);
     }
     return $this->Html->tag('h' . $number, $content, $options);
 }
 /**
  * Append a value to key array
  * @param array $tbl - The source array
  * @param mixed $key - The key where the value will be appended
  * @param string $value - The value to append
  * @return string
  */
 public static function combineValues($tbl, $key, $value)
 {
     $result = $value;
     if (isset($tbl[$key])) {
         $result = GeneralFunctions::appendValue($tbl[$key], $value);
     }
     return $result;
 }
 /**
  * Get a span icon
  * @param string $iconName - The name of the icon
  * @param array $options - Html option
  * @param string $base - Base class of the icon
  * @param string $prefix - The prefix of the icon
  * @return <span class="$base $prefix$name"></span>
  */
 public function getSpanIcon($iconName, $options = [], $base = 'glyphicon', $prefix = 'glyphicon-')
 {
     $iconCss = GeneralFunctions::getIconClass($iconName, $base, $prefix);
     $options['class'] = GeneralFunctions::combineValues($options, 'class', $iconCss);
     return $this->Html->tag('span', '', $options);
 }