| Línea 50... |
Línea 50... |
| 50 |
*
|
50 |
*
|
| 51 |
* @param int $modifiedfrom timestamp
|
51 |
* @param int $modifiedfrom timestamp
|
| 52 |
* @param \context|null $context Optional context to restrict scope of returned results
|
52 |
* @param \context|null $context Optional context to restrict scope of returned results
|
| 53 |
* @return moodle_recordset|null Recordset (or null if no results)
|
53 |
* @return moodle_recordset|null Recordset (or null if no results)
|
| 54 |
*/
|
54 |
*/
|
| 55 |
public function get_document_recordset($modifiedfrom = 0, \context $context = null) {
|
55 |
public function get_document_recordset($modifiedfrom = 0, ?\context $context = null) {
|
| 56 |
global $DB;
|
56 |
global $DB;
|
| Línea 57... |
Línea 57... |
| 57 |
|
57 |
|
| 58 |
list ($contextjoin, $contextparams) = $this->get_context_restriction_sql(
|
58 |
list ($contextjoin, $contextparams) = $this->get_context_restriction_sql(
|
| 59 |
$context, 'data', 'd', SQL_PARAMS_NAMED);
|
59 |
$context, 'data', 'd', SQL_PARAMS_NAMED);
|