@@ -244,6 +244,7 @@ discard block |
||
| 244 | 244 | * @access public |
| 245 | 245 | * @static |
| 246 | 246 | * @param array $params Array holding entity data/search constraints |
| 247 | + * @param string $paramsPurpose |
|
| 247 | 248 | * @return boolean Returns true if params holds valid entity data/search constraints, otherwise returns false |
| 248 | 249 | */ |
| 249 | 250 | private static function checkParams(array $params, $paramsPurpose) |
@@ -263,8 +264,8 @@ discard block |
||
| 263 | 264 | * @static |
| 264 | 265 | * @param string $moduleName The name of the module / entity type |
| 265 | 266 | * @param array $params Data used to find matching entries |
| 266 | - * @return array $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
| 267 | - * @return int $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
| 267 | + * @return string $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
| 268 | + * @return string $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
| 268 | 269 | * @return string The query build out of the supplied parameters |
| 269 | 270 | */ |
| 270 | 271 | public static function getQueryString($moduleName, array $params, array $select = [], $limit = 0) |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | * Gets a challenge token from the server and stores for future requests |
| 173 | 173 | * @access private |
| 174 | 174 | * @param string $username VTiger user name |
| 175 | - * @return booleanReturns false in case of failure |
|
| 175 | + * @return boolean false in case of failure |
|
| 176 | 176 | */ |
| 177 | 177 | private function passChallenge($username) |
| 178 | 178 | { |
@@ -246,6 +246,7 @@ discard block |
||
| 246 | 246 | * @access private |
| 247 | 247 | * @static |
| 248 | 248 | * @param string Base URL of vTiger CRM |
| 249 | + * @param string $baseUrl |
|
| 249 | 250 | * @return boolean Returns cleaned and fixed vTiger URL |
| 250 | 251 | */ |
| 251 | 252 | private static function fixVtigerBaseUrl($baseUrl) |