Merge branch '44104-27' of git://github.com/samhemelryk/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-02-18 01:46:47 +01:00
commit a6d5288e41
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ class XMLDBAction {
/**
* loadStrings method, loads the required strings specified in the
* array parameter
* @params array $strings
* @param string[] $strings
*/
function loadStrings($strings) {
// Load some commonly used strings

View File

@ -84,9 +84,9 @@ foreach($outcomes as $outcome) {
* Formats and returns a line of data, in CSV format. This code
* is from http://au2.php.net/manual/en/function.fputcsv.php#77866
*
* @params array-of-string $fields data to be exported
* @params char $delimiter char to be used to separate fields
* @params char $enclosure char used to enclose strings that contains newlines, spaces, tabs or the delimiter char itself
* @param string[] $fields data to be exported
* @param string $delimiter char to be used to separate fields
* @param string $enclosure char used to enclose strings that contains newlines, spaces, tabs or the delimiter char itself
* @returns string one line of csv data
*/
function format_csv($fields = array(), $delimiter = ';', $enclosure = '"') {