Salaros\Vtiger\VTWSCLib\Modules

class Modules

Vtiger Web Services PHP Client Session class

Class Modules

__construct($wsClient)

Class constructor

Parameters:
  • $wsClient (object) – Parent WSClient instance
getAll()

Lists all the Vtiger entity types available through the API

Returns:array List of entity types
getOne($moduleName)

Get the type information about a given VTiger entity type.

Parameters:
  • $moduleName
Returns:

array Result object

getTypedID($moduleName, $entityID)

Gets the entity ID prepended with module / entity type ID

Parameters:
  • $moduleName
  • $entityID
Returns:

boolean|string Returns false if it is not possible to retrieve module / entity type ID