[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 163 lines (5 kb) |
Included or required: | 4 times |
Referenced: | 0 times |
Includes or requires: | 1 file data/CRMEntity.php |
VTEntityData:: (10 methods):
fromEntityId()
fromUserId()
fromCRMEntity()
getData()
getId()
getModuleName()
get()
set()
isSaved()
isNew()
Class: VTEntityData - X-Ref
A wrapper around CRMEntity instancesfromEntityId($adb, $entityId, $moduleName='') X-Ref |
Get an entity data object. param: $adb Pear database instance. param: $entityId The id of the entity to load. return: The new entity data object. |
fromUserId($adb,$userId) X-Ref |
Get an entity data object. param: $adb Pear database instance. param: $userId The id of the entity to load. return: The new entity data object. |
fromCRMEntity($crmEntity) X-Ref |
Get an entity data object from a crmentity object param: $crmEntity The CRMEntity instance. return: The new entity data object. |
getData() X-Ref |
Get the data from the entity object as an array. return: An array representation of the module data. |
getId() X-Ref |
Get the entity id. return: The entity id. |
getModuleName() X-Ref |
Get the name of the module represented by the entity data object. return: The module name. |
get($fieldName) X-Ref |
No description |
set($fieldName, $value) X-Ref |
No description |
isSaved() X-Ref |
Check whether the object is stored on the database. return: True if the object is saved false otherwiser. |
isNew() X-Ref |
Check wether the obkect is new. return: True if the object is new, false otherwise. |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |