public static function listy($items, $attribs = array(), $type = 'ul')
    {
        if (!Arr::iterable($items)) {
            return '';
        }
        
        $htmls = array();
        $htmls[] = '<' . $type . self::attribs($attribs) . '>';
        foreach ($items as $item) {
            $htmls[] = '<li>' . $item . '</li>';
        }
        $htmls[] = '</' . $type . '>';
        return join("\n", $htmls);
    }
public static function listy($items, $attribs = array(), $type = 'ul')
    {
        if (!Arr::iterable($items)) {
            return '';
        }
        
        $htmls = array();
        $htmls[] = '<' . $type . self::attribs($attribs) . '>';
        foreach ($items as $item) {
            $htmls[] = '<li>' . $item . '</li>';
        }
        $htmls[] = '</' . $type . '>';
        return join("\n", $htmls);
    }
public static function listy ( $ items , $ attribs = array ( ) , $ type = 'ul' ) { if ( ! Arr :: iterable ( $ items ) ) { return '' ; } $ htmls = array ( ) ; $ htmls [ ] = '<' . $ type . self :: attribs ( $ attribs ) . '>' ; foreach ( $ items as $ item ) { $ htmls [ ] = '<li>' . $ item . '</li>' ; } $ htmls [ ] = '</' . $ type . '>' ; return join ( "\n" , $ htmls ) ; }
Get an HTML list
@param array $items
@param array $attribs
@param string $type
Get an HTML list