Differences Between: [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
List of deprecated mod_data functions.
Copyright: | 2021 Jun Pataleta |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 264 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
instead:: (5 methods):
data_export_xls()
data_export_csv()
data_export_ods()
data_get_exportdata()
data_import_csv()
data_export_xls($export, $dataname, $count) X-Ref |
param: array $export param: string $dataname param: int $count return: string |
data_export_csv($export, $delimiter_name, $database, $count, $return=false) X-Ref |
param: array $export param: string $delimiter_name param: object $database param: int $count param: bool $return return: string|void |
data_export_ods($export, $dataname, $count) X-Ref |
param: array $export param: string $dataname param: int $count param: string |
data_get_exportdata($dataid, $fields, $selectedfields, $currentgroup=0, $context=null,$userdetails=false, $time=false, $approval=false, $tags = false) X-Ref |
param: int $dataid param: array $fields param: array $selectedfields param: int $currentgroup group ID of the current group. This is used for param: object $context the context in which the operation is performed (for capability checks) param: bool $userdetails whether to include the details of the record author param: bool $time whether to include time created/modified param: bool $approval whether to include approval status param: bool $tags whether to include tags return: array |
data_import_csv($cm, $data, &$csvdata, $encoding, $fielddelimiter) X-Ref |
param: object $cm Course module of the data instance. param: object $data The data instance. param: string $csvdata The csv data to be imported. param: string $encoding The encoding of csv data. param: string $fielddelimiter The delimiter of the csv data. return: int Number of records added. |