Added links to PHP.net to apidoc

This commit is contained in:
Carsten Brandt
2014-03-07 19:41:43 +01:00
parent f279719196
commit e2aacad8aa
13 changed files with 49 additions and 20 deletions

View File

@@ -99,7 +99,7 @@ class Query extends Component implements QueryInterface
*/
public $params = [];
/**
* @var callback PHP callback, which should be used to fetch source data for the snippets.
* @var callable PHP callback, which should be used to fetch source data for the snippets.
* Such callback will receive array of query result rows as an argument and must return the
* array of snippet source strings in the order, which match one of incoming rows.
* For example:
@@ -642,7 +642,7 @@ class Query extends Component implements QueryInterface
/**
* Sets the PHP callback, which should be used to retrieve the source data
* for the snippets building.
* @param callback $callback PHP callback, which should be used to fetch source data for the snippets.
* @param callable $callback PHP callback, which should be used to fetch source data for the snippets.
* @return static the query object itself
* @see snippetCallback
*/