| Línea 62... |
Línea 62... |
| 62 |
* @param string|null $wheresql Where conditions for the SQL
|
62 |
* @param string|null $wheresql Where conditions for the SQL
|
| 63 |
* @param string|null $sortsql Order by conditions for the SQL
|
63 |
* @param string|null $sortsql Order by conditions for the SQL
|
| 64 |
* @param int|null $userid The user ID
|
64 |
* @param int|null $userid The user ID
|
| 65 |
* @return string
|
65 |
* @return string
|
| 66 |
*/
|
66 |
*/
|
| 67 |
protected function generate_get_records_sql(string $wheresql = null, string $sortsql = null, ?int $userid = null): string {
|
67 |
protected function generate_get_records_sql(?string $wheresql = null, ?string $sortsql = null, ?int $userid = null): string {
|
| 68 |
$db = $this->get_db();
|
68 |
$db = $this->get_db();
|
| 69 |
$alias = $this->get_table_alias();
|
69 |
$alias = $this->get_table_alias();
|
| Línea 70... |
Línea 70... |
| 70 |
|
70 |
|
| 71 |
$thistable = new dml_table(self::TABLE, $alias, $alias);
|
71 |
$thistable = new dml_table(self::TABLE, $alias, $alias);
|