You are here

function filedepot_getGroupOptions in filedepot 6

Same name and namespace in other branches
  1. 7 lib-common.php \filedepot_getGroupOptions()
1 call to filedepot_getGroupOptions()
template_preprocess_filedepot_folderperms_ogenabled in ./lib-theme.php

File

./lib-common.php, line 298
lib-common.php Common library of functions for the applications

Code

function filedepot_getGroupOptions() {
  $retval = '';
  $groups = og_all_groups_options();
  foreach ($groups as $grpid => $grpname) {
    $retval .= '<option value="' . $grpid . '">' . $grpname . '</option>';
  }
  return $retval;
}