Skip to content

Commit

Permalink
add comments to explain the format for the options.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchen committed Jan 16, 2014
1 parent 427fdf4 commit 26deeab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wp-trac-client/widgets/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ function wptc_widget_parse_content($wiki) {
* preparing the options for select tag.
* this could be used by type, milestone, version,
* priority dropdown
* Options will an array with the following format:
*
* $options = array(
* 'options_value_1' => 'options_label_1',
* 'options_value_2' => 'options_label_2'
* );
*/
function wptc_widget_options_html($options, $selected="",
$hasEmpty=true,
Expand Down

0 comments on commit 26deeab

Please sign in to comment.