Skip to content

Commit

Permalink
Fixing doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Aug 6, 2013
1 parent 14e36a6 commit 9e6f6f8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/Cake/Database/Query.php
Expand Up @@ -424,6 +424,7 @@ public function distinct($on = [], $overwrite = false) {
* DISTINCT clause for the query.
*
* @param array $parts list of fields to be transformed to string
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string
*/
protected function _buildSelectPart($parts, $generator) {
Expand Down Expand Up @@ -503,6 +504,7 @@ public function from($tables = [], $overwrite = false) {
* converting expression objects to string.
*
* @param array $parts list of tables to be transformed to string
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string
*/
protected function _buildFromPart($parts, $generator) {
Expand Down Expand Up @@ -636,6 +638,7 @@ public function join($tables = null, $types = [], $overwrite = false) {
* to be used
*
* @param array $parts list of joins to be transformed to string
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string
*/
protected function _buildJoinPart($parts, $generator) {
Expand All @@ -658,6 +661,7 @@ protected function _buildJoinPart($parts, $generator) {
* Helper function to generate SQL for SET expressions.
*
* @param array $parts List of keys & values to set.
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string
*/
protected function _buildSetPart($parts, $generator) {
Expand Down Expand Up @@ -1153,6 +1157,7 @@ public function union($query, $all = false, $overwrite = false) {
* dialect.
*
* @param array $parts list of queries to be operated with UNION
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string
*/
protected function _buildUnionPart($parts, $generator) {
Expand All @@ -1168,6 +1173,7 @@ protected function _buildUnionPart($parts, $generator) {
* Builds the SQL fragment for INSERT INTO.
*
* @param array $parts
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string SQL fragment.
*/
protected function _buildInsertPart($parts, $generator) {
Expand All @@ -1180,6 +1186,7 @@ protected function _buildInsertPart($parts, $generator) {
* Builds the SQL fragment for INSERT INTO.
*
* @param array $parts
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return string SQL fragment.
*/
protected function _buildValuesPart($parts, $generator) {
Expand All @@ -1191,7 +1198,7 @@ protected function _buildValuesPart($parts, $generator) {
* into their string representation
*
* @param array $expression list of strings and ExpressionInterface objects
* @param ValueBinder $generator the placeholder generator to be used in expressions
* @param Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
* @return array
*/
protected function _stringifyExpressions(array $expressions, ValueBinder $generator) {
Expand Down Expand Up @@ -1525,7 +1532,7 @@ public function bind($param, $value, $type) {
*
* @param ValueBinder $binder new instance to be set. If no value is passed the
* default one will be returned
* @return Query|ValueBinder
* @return Query|Cake\Database\ValueBinder
*/
public function valueBinder($binder = null) {
if ($binder === null) {
Expand Down

0 comments on commit 9e6f6f8

Please sign in to comment.