Example #1
0
 /**
  * Returns the output string for the list of all locations available to mandant
  * 
  * @param Array $locations: all locations that can be assigned to mandant
  * @param Array $mandantLocations: locations already assigned to mandants
  * @return string
  */
 public static function outputMandantLocations($locations, $mandantLocations)
 {
     $output = "<tr>\n            <th>" . MANDANT_LOCATIONS . "</th>\n            <td>" . View::multipleChoiceFormOutput('location', $locations, $mandantLocations) . "</td>\n        </tr>";
     $output .= '</table>';
     return $output;
 }