mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add missing method definitions
This commit is contained in:
parent
4b71666255
commit
290bccedb4
1 changed files with 20 additions and 0 deletions
|
@ -272,6 +272,16 @@ class DboSource extends DataSource {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Connects to the database.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function connect() {
|
||||
// This method is implemented in subclasses
|
||||
return $this->connected;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reconnects to database server with optional new settings
|
||||
*
|
||||
|
@ -619,6 +629,16 @@ class DboSource extends DataSource {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a map of the columns contained in a result
|
||||
*
|
||||
* @param array|PDOStatement $results The results to format.
|
||||
* @return void
|
||||
*/
|
||||
public function resultSet($results) {
|
||||
// This method is implemented in subclasses
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a row from current resultset as an array
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue