Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 193... Línea 193...
193
     * @param string $sql
193
     * @param string $sql
194
     * @param array $params
194
     * @param array $params
195
     * @return bool true
195
     * @return bool true
196
     * @throws Exception
196
     * @throws Exception
197
     */
197
     */
198
    public function execute($sql, array $params = null) {
198
    public function execute($sql, ?array $params = null) {
199
        throw new Exception("execute() not implemented");
199
        throw new Exception("execute() not implemented");
200
    }
200
    }
Línea 201... Línea 201...
201
 
201
 
202
    /**
202
    /**
Línea 206... Línea 206...
206
     * @param int $limitfrom
206
     * @param int $limitfrom
207
     * @param int $limitnum
207
     * @param int $limitnum
208
     * @return bool true
208
     * @return bool true
209
     * @throws Exception
209
     * @throws Exception
210
     */
210
     */
211
    public function get_recordset_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) {
211
    public function get_recordset_sql($sql, ?array $params = null, $limitfrom = 0, $limitnum = 0) {
212
        throw new Exception("get_recordset_sql() not implemented");
212
        throw new Exception("get_recordset_sql() not implemented");
213
    }
213
    }
Línea 214... Línea 214...
214
 
214
 
215
    /**
215
    /**
Línea 219... Línea 219...
219
     * @param int $limitfrom
219
     * @param int $limitfrom
220
     * @param int $limitnum
220
     * @param int $limitnum
221
     * @return bool true
221
     * @return bool true
222
     * @throws Exception
222
     * @throws Exception
223
     */
223
     */
224
    public function get_records_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) {
224
    public function get_records_sql($sql, ?array $params = null, $limitfrom = 0, $limitnum = 0) {
225
        throw new Exception("get_records_sql() not implemented");
225
        throw new Exception("get_records_sql() not implemented");
226
    }
226
    }
Línea 227... Línea 227...
227
 
227
 
228
    /**
228
    /**
229
     * Default implementation, throws Exception
229
     * Default implementation, throws Exception
230
     * @param string $sql
230
     * @param string $sql
231
     * @param array $params
231
     * @param array $params
232
     * @return bool true
232
     * @return bool true
233
     * @throws Exception
233
     * @throws Exception
234
     */
234
     */
235
    public function get_fieldset_sql($sql, array $params = null) {
235
    public function get_fieldset_sql($sql, ?array $params = null) {
236
        throw new Exception("get_fieldset_sql() not implemented");
236
        throw new Exception("get_fieldset_sql() not implemented");
Línea 237... Línea 237...
237
    }
237
    }
238
 
238
 
Línea 306... Línea 306...
306
     * @param string $select
306
     * @param string $select
307
     * @param array $params
307
     * @param array $params
308
     * @return bool true
308
     * @return bool true
309
     * @throws Exception
309
     * @throws Exception
310
     */
310
     */
311
    public function set_field_select($table, $newfield, $newvalue, $select, array $params = null) {
311
    public function set_field_select($table, $newfield, $newvalue, $select, ?array $params = null) {
312
        throw new Exception("set_field_select() not implemented");
312
        throw new Exception("set_field_select() not implemented");
313
    }
313
    }
Línea 314... Línea 314...
314
 
314
 
315
    /**
315
    /**
Línea 318... Línea 318...
318
     * @param string $select
318
     * @param string $select
319
     * @param array $params
319
     * @param array $params
320
     * @return bool true
320
     * @return bool true
321
     * @throws Exception
321
     * @throws Exception
322
     */
322
     */
323
    public function delete_records_select($table, $select, array $params = null) {
323
    public function delete_records_select($table, $select, ?array $params = null) {
324
        throw new Exception("delete_records_select() not implemented");
324
        throw new Exception("delete_records_select() not implemented");
325
    }
325
    }
Línea 326... Línea 326...
326
 
326
 
327
    /**
327
    /**