mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
More documentation.
This commit is contained in:
parent
c1cdf190e3
commit
09188cc3d0
1 changed files with 5 additions and 4 deletions
|
@ -1568,7 +1568,7 @@ class DboSource extends DataSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates an array representing a query or part of a query from a single model or two associated models.
|
* Generates a query or part of a query from a single model or two associated models.
|
||||||
*
|
*
|
||||||
* Builds a string containing an SQL statement template.
|
* Builds a string containing an SQL statement template.
|
||||||
*
|
*
|
||||||
|
@ -1580,6 +1580,7 @@ class DboSource extends DataSource {
|
||||||
* @param array $queryData Query data already processed.
|
* @param array $queryData Query data already processed.
|
||||||
* @param boolean $external Whether or not the association query is on an external datasource.
|
* @param boolean $external Whether or not the association query is on an external datasource.
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
* String representing a query.
|
||||||
* True. when $external is false and association $type is 'hasOne' or 'belongsTo'.
|
* True. when $external is false and association $type is 'hasOne' or 'belongsTo'.
|
||||||
*/
|
*/
|
||||||
public function generateAssociationQuery(Model $Model, Model $LinkModel, $type, $association, $assocData, &$queryData, $external) {
|
public function generateAssociationQuery(Model $Model, Model $LinkModel, $type, $association, $assocData, &$queryData, $external) {
|
||||||
|
@ -1797,9 +1798,9 @@ class DboSource extends DataSource {
|
||||||
/**
|
/**
|
||||||
* Builds and generates an SQL statement from an array. Handles final clean-up before conversion.
|
* Builds and generates an SQL statement from an array. Handles final clean-up before conversion.
|
||||||
*
|
*
|
||||||
* @param array $query An array defining an SQL query
|
* @param array $query An array defining an SQL query.
|
||||||
* @param Model $Model The model object which initiated the query
|
* @param Model $Model The model object which initiated the query.
|
||||||
* @return string An executable SQL statement
|
* @return string An executable SQL statement.
|
||||||
* @see DboSource::renderStatement()
|
* @see DboSource::renderStatement()
|
||||||
*/
|
*/
|
||||||
public function buildStatement($query, Model $Model) {
|
public function buildStatement($query, Model $Model) {
|
||||||
|
|
Loading…
Reference in a new issue