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;
    }
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;
    }
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 ; }
Render multiple related elements.

@return string HTML
Render multiple related elements .