You appear to be a bot. Output may be restricted
Description
Return the choices and notes for a keywords values
Usage
$string = bw_format_skv( $value );
Parameters
- $value
- ( mixed ) required – array or string containing attribute values
Returns
string HTML showing the default value, other values and notesSource
File name: oik/libs/oik-sc-help.phpLines:
1 to 14 of 14
function bw_format_skv( $value ) { if ( is_array( $value ) ) { $default = bw_array_get( $value, "default", null ); $values = bw_array_get( $value, "values", null ); $values = str_replace( "|", "| ", $values ); $notes = bw_array_get( $value, "notes", null ); if ( is_array( $values ) ) { bw_trace2(); } if ( is_array( $notes ) ) {bw_trace2(); } return( "<b>$default</b>| $values - $notes" ); } else { return( $value ); } }View on GitHub View on Trac