|
@@ -162,7 +162,7 @@ discard block |
|
|
block discarded – undo |
|
162
|
162
|
* Gets a challenge token from the server and stores for future requests |
|
163
|
163
|
* @access private |
|
164
|
164
|
* @param string $username VTiger user name |
|
165
|
|
- * @return booleanReturns false in case of failure |
|
|
165
|
+ * @return boolean false in case of failure |
|
166
|
166
|
*/ |
|
167
|
167
|
private function passChallenge($username) |
|
168
|
168
|
{ |
|
@@ -625,8 +625,8 @@ discard block |
|
|
block discarded – undo |
|
625
|
625
|
* Builds the query using the supplied parameters |
|
626
|
626
|
* @param string $moduleName The name of the module / entity type |
|
627
|
627
|
* @param array $params Data used to find matching entries |
|
628
|
|
- * @return array $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
629
|
|
- * @return int $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
|
628
|
+ * @return string $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
|
629
|
+ * @return string $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
630
|
630
|
* @return string The query build out of the supplied parameters |
|
631
|
631
|
*/ |
|
632
|
632
|
private function buildQuery($moduleName, array $params, array $select = [], $limit = 0) |
|
@@ -648,6 +648,7 @@ discard block |
|
|
block discarded – undo |
|
648
|
648
|
/** |
|
649
|
649
|
* Checks if if params holds valid entity data/search constraints, otherwise returns false |
|
650
|
650
|
* @param array $params Array holding entity data/search constraints |
|
|
651
|
+ * @param string $paramsPurpose |
|
651
|
652
|
* @return boolean Returns true if params holds valid entity data/search constraints, otherwise returns false |
|
652
|
653
|
*/ |
|
653
|
654
|
private function checkParams(array $params, $paramsPurpose) |