original_string: protected function renderMulti()
      {
          $strHtml = '';
  
          // An indexed array means use the label as the value also.
          $bLabelIsValue = isset($this->aOptions[0]);
          foreach ($this->aOptions as $mValue => $strLabel) {
              if ($bLabelIsValue)
                  $mValue = $strLabel;
              $strSelected = isset($this->mValue) && in_array($strLabel, (array)$this->mValue)
                  ? ' checked' : '';
              $strHtml .= '<label class="sked-input-multi">'
                  . '<input value="' . $mValue . '" ' . $this->renderAttribs() . $strSelected . '> '
                  . $strLabel . '</label>';
          }
  
          return $strHtml;
      }
code: protected function renderMulti()
      {
          $strHtml = '';
  
          // An indexed array means use the label as the value also.
          $bLabelIsValue = isset($this->aOptions[0]);
          foreach ($this->aOptions as $mValue => $strLabel) {
              if ($bLabelIsValue)
                  $mValue = $strLabel;
              $strSelected = isset($this->mValue) && in_array($strLabel, (array)$this->mValue)
                  ? ' checked' : '';
              $strHtml .= '<label class="sked-input-multi">'
                  . '<input value="' . $mValue . '" ' . $this->renderAttribs() . $strSelected . '> '
                  . $strLabel . '</label>';
          }
  
          return $strHtml;
      }
code_tokens: protected function renderMulti ( ) { $ strHtml = '' ; // An indexed array means use the label as the value also. $ bLabelIsValue = isset ( $ this -> aOptions [ 0 ] ) ; foreach ( $ this -> aOptions as $ mValue => $ strLabel ) { if ( $ bLabelIsValue ) $ mValue = $ strLabel ; $ strSelected = isset ( $ this -> mValue ) && in_array ( $ strLabel , ( array ) $ this -> mValue ) ? ' checked' : '' ; $ strHtml .= '<label class="sked-input-multi">' . '<input value="' . $ mValue . '" ' . $ this -> renderAttribs ( ) . $ strSelected . '> ' . $ strLabel . '</label>' ; } return $ strHtml ; }
docstring: Render multiple related elements.
  
  @return string HTML
docstring_tokens: Render multiple related elements .