[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 2682 lines (111 kb) |
Included or required: | 19 times |
Referenced: | 0 times |
Includes or requires: | 8 files data/Tracker.php config.php include/utils/utils.php include/events/include.inc include/logging.php include/utils/UserInfoUtil.php libraries/freetag/freetag.class.php include/Zend/Json.php |
CRMEntity:: (68 methods):
isBulkSaveMode()
getInstance()
saveentity()
uploadAndSaveFile()
insertIntoCrmEntity()
resolve_query_result_value()
insertIntoEntityTable()
deleteRelation()
getOldFileName()
createColumnAliasForField()
retrieve_entity_info()
save()
process_list_query()
process_full_list_query()
mark_deleted()
retrieve_by_string_fields()
process_special_fields()
checkIfCustomTableExists()
constructCustomQueryAddendum()
get_full_list()
track_view()
get_column_value()
apply_field_security()
transform_export_value()
initImportableFields()
initRequiredFields()
trash()
unlinkDependencies()
unlinkRelationship()
restore()
restoreRelatedRecords()
initSortByField()
setModuleSeqNumber()
isModuleSequenceConfigured()
getModuleSeqInfo()
checkModuleSeqNumber()
updateMissingSeqNumber()
get_attachments()
isViewed()
__timediff()
markAsViewed()
save_related_module()
delete_related_module()
get_related_list()
get_dependents_list()
transferRelatedRecords()
generateReportsQuery()
generateReportsSecQuery()
getListViewSecurityParameter()
getRelationQuery()
add_related_to()
filterInactiveFields()
buildSearchQueryForFieldTypes()
getJoinClause()
getNonAdminAccessQuery()
getNonAdminUserAccessQuery()
getNonAdminModuleAccessQuery()
setupTemporaryTable()
getNonAdminAccessControlQuery()
listQueryNonAdminChange()
setRelationTables()
clearSingletonSaveFields()
trackLinkedInfo()
getSortOrder()
getOrderBy()
getListButtons()
trackUnLinkedInfo()
getQueryForDuplicates()
isBulkSaveMode() X-Ref |
Detect if we are in bulk save mode, where some features can be turned-off to improve performance. |
getInstance($module) X-Ref |
No description |
saveentity($module, $fileid = '') X-Ref |
No description |
uploadAndSaveFile($id, $module, $file_details) X-Ref |
This function is used to upload the attachment in the server and save that attachment information in db. param: int $id - entity id to which the file to be uploaded param: string $module - the current module name param: array $file_details - array which contains the file information(name, type, size, tmp_name and error) |
insertIntoCrmEntity($module, $fileid = '') X-Ref |
No description |
resolve_query_result_value($result, $index, $columnname) X-Ref |
No description |
insertIntoEntityTable($table_name, $module, $fileid = '') X-Ref |
No description |
deleteRelation($table_name) X-Ref |
No description |
getOldFileName($notesid) X-Ref |
No description |
createColumnAliasForField($fieldinfo) X-Ref |
Function returns the column alias for a field param: <Array> $fieldinfo - field information return: <String> field value |
retrieve_entity_info($record, $module) X-Ref |
Retrieve record information of the module param: <Integer> $record - crmid of record param: <String> $module - module name |
save($module_name, $fileid = '') X-Ref |
No description |
process_list_query($query, $row_offset, $limit = -1, $max_per_page = -1) X-Ref |
No description |
process_full_list_query($query) X-Ref |
No description |
mark_deleted($id) X-Ref |
No description |
retrieve_by_string_fields($fields_array, $encode = true) X-Ref |
No description |
process_special_fields() X-Ref |
No description |
checkIfCustomTableExists($tablename) X-Ref |
Function to check if the custom vtiger_field vtiger_table exists return true or false |
constructCustomQueryAddendum($tablename, $module) X-Ref |
function to construct the query to fetch the custom vtiger_fields return the query to fetch the custom vtiger_fields |
get_full_list($order_by = "", $where = "") X-Ref |
This function returns a full (ie non-paged) list of the current object type. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________.. |
track_view($user_id, $current_module, $id = '') X-Ref |
Track the viewing of a detail record. This leverages get_summary_text() which is object specific params $user_id - The user that is viewing the record. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________.. |
get_column_value($columnname, $fldvalue, $fieldname, $uitype, $datatype = '') X-Ref |
Function to get the column value of a field when the field value is empty '' param: $columnname -- Column name for the field param: $fldvalue -- Input value for the field taken from the User param: $fieldname -- Name of the Field param: $uitype -- UI type of the field return: Column value of the field. |
apply_field_security($moduleName = '') X-Ref |
Function to make change to column fields, depending on the current user's accessibility for the fields |
transform_export_value($key, $value) X-Ref |
Function invoked during export of module record value. |
initImportableFields($module) X-Ref |
Function to initialize the importable fields array, based on the User's accessibility to the fields |
initRequiredFields($module) X-Ref |
No description |
trash($module, $id) X-Ref |
No description |
unlinkDependencies($module, $id) X-Ref |
No description |
unlinkRelationship($id, $return_module, $return_id) X-Ref |
No description |
restore($module, $id) X-Ref |
No description |
restoreRelatedRecords($module, $record) X-Ref |
No description |
initSortByField($module) X-Ref |
Function to initialize the sortby fields array |
setModuleSeqNumber($mode, $module, $req_str = '', $req_no = '') X-Ref |
No description |
isModuleSequenceConfigured($module) X-Ref |
No description |
getModuleSeqInfo($module) X-Ref |
No description |
checkModuleSeqNumber($table, $column, $no) X-Ref |
No description |
updateMissingSeqNumber($module) X-Ref |
No description |
get_attachments($id, $cur_tab_id, $rel_tab_id, $actions = false) X-Ref |
No description |
isViewed($crmid = false) X-Ref |
For Record View Notification |
__timediff($d1, $d2) X-Ref |
No description |
markAsViewed($userid) X-Ref |
No description |
save_related_module($module, $crmid, $with_module, $with_crmid) X-Ref |
Save the related module record information. Triggered from CRMEntity->saveentity method or updateRelations.php param: String This module name param: Integer This module record number param: String Related module name param: mixed Integer or Array of related module record number |
delete_related_module($module, $crmid, $with_module, $with_crmid) X-Ref |
Delete the related module record information. Triggered from updateRelations.php param: String This module name param: Integer This module record number param: String Related module name param: mixed Integer or Array of related module record number |
get_related_list($id, $cur_tab_id, $rel_tab_id, $actions = false) X-Ref |
Default (generic) function to handle the related list for the module. NOTE: Vtiger_Module::setRelatedList sets reference to this function in vtiger_relatedlists table if function name is not explicitly specified. |
get_dependents_list($id, $cur_tab_id, $rel_tab_id, $actions = false) X-Ref |
Default (generic) function to handle the dependents list for the module. NOTE: UI type '10' is used to stored the references to other modules for a given record. These dependent records can be retrieved through this function. For eg: A trouble ticket can be related to an Account or a Contact. From a given Contact/Account if we need to fetch all such dependent trouble tickets, get_dependents_list function can be used. |
transferRelatedRecords($module, $transferEntityIds, $entityId) X-Ref |
Move the related records of the specified list of id's to the given record. param: String This module name param: Array List of Entity Id's from which related records need to be transfered param: Integer Id of the the Record to which the related records are to be moved |
generateReportsQuery($module, $queryPlanner) X-Ref |
No description |
generateReportsSecQuery($module, $secmodule,$queryPlanner) X-Ref |
No description |
getListViewSecurityParameter($module) X-Ref |
No description |
getRelationQuery($module, $secmodule, $table_name, $column_name, $queryPlanner) X-Ref |
No description |
add_related_to($module, $fieldname) X-Ref |
This function handles the import for uitype 10 fieldtype param: string $module - the current module name param: string fieldname - the related to field name |
filterInactiveFields($module) X-Ref |
Filter in-active fields based on type param: String $module |
buildSearchQueryForFieldTypes($uitypes, $value=false) X-Ref |
No description |
getJoinClause($tableName) X-Ref |
param: String $tableName return: String |
getNonAdminAccessQuery($module, $user, $parentRole, $userGroups) X-Ref |
param: <type> $module param: <type> $user param: <type> $parentRole param: <type> $userGroups |
getNonAdminUserAccessQuery($user, $parentRole, $userGroups) X-Ref |
param: <type> $user param: <type> $parentRole param: <type> $userGroups |
getNonAdminModuleAccessQuery($module, $user) X-Ref |
param: <type> $module param: <type> $user |
setupTemporaryTable($tableName, $tabId, $user, $parentRole, $userGroups) X-Ref |
param: <type> $module param: <type> $user param: <type> $parentRole param: <type> $userGroups |
getNonAdminAccessControlQuery($module, $user, $scope = '') X-Ref |
param: String $module - module name for which query needs to be generated. param: Users $user - user for which query needs to be generated. return: String Access control Query for the user. |
listQueryNonAdminChange($query, $scope = '') X-Ref |
No description |
setRelationTables($secmodule) X-Ref |
No description |
clearSingletonSaveFields() X-Ref |
Function to clear the fields which needs to be saved only once during the Save of the record For eg: Comments of HelpDesk should be saved only once during one save of a Trouble Ticket |
trackLinkedInfo($module, $crmid, $with_module, $with_crmid) X-Ref |
Function to track when a new record is linked to a given record |
getSortOrder() X-Ref |
Function to get sort order return string $sorder - sortorder string either 'ASC' or 'DESC' |
getOrderBy() X-Ref |
Function to get order by return string $order_by - fieldname(eg: 'accountname') |
getListButtons($app_strings,$mod_strings = false) X-Ref |
Function to Listview buttons return array $list_buttons - for module (eg: 'Accounts') |
trackUnLinkedInfo($module, $crmid, $with_module, $with_crmid) X-Ref |
Function to track when a record is unlinked to a given record |
getQueryForDuplicates($module, $tableColumns, $selectedColumns = '', $ignoreEmpty = false) X-Ref |
Function which will give the basic query to find duplicates param: <String> $module param: <String> $tableColumns param: <String> $selectedColumns param: <Boolean> $ignoreEmpty return: string |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |