@@ -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) |
@@ -268,6 +268,7 @@ |
||
| 268 | 268 | * @access private |
| 269 | 269 | * @static |
| 270 | 270 | * @param string Base URL of vTiger CRM |
| 271 | + * @param string $baseUrl |
|
| 271 | 272 | * @return boolean Returns cleaned and fixed vTiger URL |
| 272 | 273 | */ |
| 273 | 274 | private static function fixVtigerBaseUrl($baseUrl) |