PATH:
home
/
letacommog
/
crmleta
/
layouts
/
v7
/
modules
/
Vtiger
/
resources
/*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. *************************************************************************************/ jQuery.Class('Vtiger.Class',{},{ addComponent : function(componentName) { if(window[componentName]){ if(typeof this._components == "undefined") { this._components = {}; } this._components[componentName] = window[componentName]; } }, addModuleSpecificComponent : function(view,module,parent){ var componentName = app.getModuleSpecificViewClass(view,module,parent); this.addComponent(componentName); }, setParentInstance : function(instance){ this._parent = instance; }, getParentInstance : function() { return this._parent; }, intializeComponents : function() { if(typeof this._componentInstances == "undefined") { this._componentInstances = {}; } for(var componentName in this._components) { if(componentName in this._componentInstances) { continue; } this._componentInstances[componentName] = new this._components[componentName](); var componentInstance = this._componentInstances[componentName] if(typeof componentInstance.intializeComponents == "function") componentInstance.intializeComponents(); if(typeof componentInstance.setParentInstance == "function") { componentInstance.setParentInstance(this); } componentInstance.registerEvents(); } }, getComponentInstance : function(componentName) { if(typeof this._components != 'undefined' && typeof this._componentInstances != 'undefined'){ if(componentName in this._components){ if(componentName in this._componentInstances) { return this._componentInstances[componentName]; } } } return false; }, getModuleSpecificComponentInstance : function(view, module, parent) { var componentName = app.getModuleSpecificViewClass(view,module,parent); return this.getComponentInstance(componentName); }, registerEvents : function() { } });
[+]
..
[-] RelatedList.js
[edit]
[-] EmailsRelatedPopup.js
[edit]
[-] Detail.js
[edit]
[-] Field.js
[edit]
[-] CkEditor.js
[edit]
[-] Tag.js
[edit]
[-] Header.js
[edit]
[-] AdvanceSearch.js
[edit]
[-] validation.js
[edit]
[-] ExtensionCommon.js
[edit]
[-] SearchList.js
[edit]
[-] Edit.js
[edit]
[-] MergeRecords.js
[edit]
[-] Pagination.js
[edit]
[-] Popup.js
[edit]
[-] FindDuplicates.js
[edit]
[-] RecordSelectTracker.js
[edit]
[-] Vtiger.js
[edit]
[-] DashBoard.js
[edit]
[-] SearchAdvanceFilter.js
[edit]
[+]
dashboards
[-] AdvanceFilter.js
[edit]
[-] AdvanceSearchList.js
[edit]
[-] List.js
[edit]
[-] Base.js
[edit]
[-] Utils.js
[edit]
[-] Extension.js
[edit]
[-] ListSidebar.js
[edit]
[-] Class.js
[edit]
[-] BasicSearch.js
[edit]
[-] BaseList.js
[edit]