You appear to be a bot. Output may be restricted
Description
Display a list item
Usage
bw_csv_output_list_item( $tablerow, $uo );
Parameters
- $tablerow
- ( array ) required – array of output
- $uo
- ( string ) required – list type
Returns
voidTO DO
Determine if there is any need for a separator other than blankTO DO
Determine what to do when not unordered, ordered or definition list. e.g. comma separated?Source
File name: oik-bob-bing-wide/shortcodes/oik-csv.phpLines:
1 to 28 of 28
function bw_csv_output_list_item( $tablerow, $uo ) { switch ( $uo ) { case "u": case "ul": case "o": case "ol": $item = implode( " ", $tablerow); li( $item ); break; case "d": case "dl": $term = array_shift( $tablerow ); $data = implode( " ", $tablerow ); stag( "dt" ); e( $term ); etag( "dt" ); stag( "dd" ); e( $data ); etag( "dd" ); break; default: //span( $class ); $item = implode( " ", $tablerow ); br( $item ); } }View on GitHub