Skip to content

Commit

Permalink
CRM_Utils_SQL_Select::execute() - Improve docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Jul 20, 2017
1 parent 77e74ae commit c4dcc9c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CRM/Utils/SQL/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,20 @@ public function toSQL() {
}

/**
* Execute the query.
*
* To examine the results, use a function like `fetch()`, `fetchAll()`,
* `fetchValue()`, or `fetchMap()`.
*
* @param string|NULL $daoName
* The return object should be an instance of this class.
* Ex: 'CRM_Contact_BAO_Contact'.
* @param bool $i18nRewrite
* If the system has multilingual features, should the field/table
* names be rewritten?
* @return CRM_Core_DAO
* @see CRM_Core_DAO::executeQuery
* @see CRM_Core_I18n_Schema::rewriteQuery
*/
public function execute($daoName = NULL, $i18nRewrite = TRUE) {
// Don't pass through $params. toSQL() handles interpolation.
Expand Down

0 comments on commit c4dcc9c

Please sign in to comment.