public static function mediaList(array $items, $htmlOptions = array())
    {
        if (!empty($items)) {
            self::addCssClass('media-list', $htmlOptions);
            $output = '';
            $output .= self::openTag('ul', $htmlOptions);
            $output .= self::medias($items, 'li');
            $output .= '</ul>';
            return $output;
        }
        return '';
    }
public static function mediaList(array $items, $htmlOptions = array())
    {
        if (!empty($items)) {
            self::addCssClass('media-list', $htmlOptions);
            $output = '';
            $output .= self::openTag('ul', $htmlOptions);
            $output .= self::medias($items, 'li');
            $output .= '</ul>';
            return $output;
        }
        return '';
    }
public static function mediaList ( array $ items , $ htmlOptions = array ( ) ) { if ( ! empty ( $ items ) ) { self :: addCssClass ( 'media-list' , $ htmlOptions ) ; $ output = '' ; $ output .= self :: openTag ( 'ul' , $ htmlOptions ) ; $ output .= self :: medias ( $ items , 'li' ) ; $ output .= '</ul>' ; return $ output ; } return '' ; }
Generates a list of media objects.
@param array $items item configurations.
@param array $htmlOptions additional HTML attributes.
@return string generated list.
Generates a list of media objects .