[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/vtlib/Vtiger/ -> PackageImport.php (summary)

(no description)

File Size: 864 lines (27 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 5 files
 vtlib/Vtiger/PackageExport.php
 vtlib/Vtiger/Event.php
 vtlib/Vtiger/Cron.php
 vtlib/Vtiger/Module.php
 vtlib/Vtiger/Unzip.php

Defines 1 class

Vtiger_PackageImport:: (43 methods):
  Vtiger_PackageImport()
  __parseManifestFile()
  type()
  xpath()
  xpath_value()
  isLanguageType()
  isExtensionType()
  isLayoutType()
  isModuleBundle()
  getAvailableModuleInfoFromModuleBundle()
  getLicense()
  checkZip()
  getModuleNameFromZip()
  getModuleName()
  __AddModuleFieldToCache()
  __GetModuleFieldFromCache()
  initImport()
  getTemporaryFilePath()
  getDependentVtigerVersion()
  getDependentMaxVtigerVersion()
  getVersion()
  getAuthorName()
  getAuthorPhone()
  getAuthorEmail()
  getDescription()
  import()
  import_Module()
  import_Tables()
  import_Blocks()
  import_Block()
  import_Fields()
  import_Field()
  import_CustomViews()
  import_CustomView()
  import_SharingAccess()
  import_Events()
  import_Event()
  import_Actions()
  import_Action()
  import_RelatedLists()
  import_Relatedlist()
  import_CustomLinks()
  import_CronTasks()


Class: Vtiger_PackageImport  - X-Ref

Provides API to import module into vtiger CRM

Vtiger_PackageImport()   X-Ref
Constructor


__parseManifestFile($unzip)   X-Ref
Parse the manifest file


type()   X-Ref
Get type of package (as specified in manifest)


xpath($path)   X-Ref
XPath evaluation on the root module node.

param: String Path expression

xpath_value($path)   X-Ref
Get the value of matching path (instead of complete xpath result)

param: String Path expression for which value is required

isLanguageType($zipfile =null)   X-Ref
Are we trying to import layout package?


isExtensionType($zipfile =null)   X-Ref
Are we trying to import extension package?


isLayoutType($zipfile =null)   X-Ref
Are we trying to import language package?


isModuleBundle($zipfile = null)   X-Ref
checks whether a package is module bundle or not.

param: String $zipfile - path to the zip file.
return: Boolean - true if given zipfile is a module bundle and false otherwise.

getAvailableModuleInfoFromModuleBundle()   X-Ref

return: Array module list available in the module bundle.

getLicense()   X-Ref
Get the license of this package
NOTE: checkzip should have been called earlier.


checkZip($zipfile)   X-Ref
Check if zipfile is a valid package


getModuleNameFromZip($zipfile)   X-Ref
Get module name packaged in the zip file


getModuleName()   X-Ref
returns the name of the module.

return: String - name of the module as given in manifest file.

__AddModuleFieldToCache($moduleInstance, $fieldname, $fieldInstance)   X-Ref
Cache the field instance for re-use


__GetModuleFieldFromCache($moduleInstance, $fieldname)   X-Ref
Get field instance from cache


initImport($zipfile, $overwrite=true)   X-Ref
Initialize Import


getTemporaryFilePath($filepath=false)   X-Ref
No description

getDependentVtigerVersion()   X-Ref
Get dependent version


getDependentMaxVtigerVersion()   X-Ref
Get dependent Maximum version


getVersion()   X-Ref
Get package version


getAuthorName()   X-Ref
Get package author name


getAuthorPhone()   X-Ref
Get package author phone number


getAuthorEmail()   X-Ref
Get package author phone email


getDescription()   X-Ref
Get package author phone email


import($zipfile, $overwrite=false)   X-Ref
Import Module from zip file

param: String Zip file name
param: Boolean True for overwriting existing module

import_Module()   X-Ref
Import Module


import_Tables($modulenode)   X-Ref
Import Tables of the module


import_Blocks($modulenode, $moduleInstance)   X-Ref
Import Blocks of the module


import_Block($modulenode, $moduleInstance, $blocknode)   X-Ref
Import Block of the module


import_Fields($blocknode, $blockInstance, $moduleInstance)   X-Ref
Import Fields of the module


import_Field($blocknode, $blockInstance, $moduleInstance, $fieldnode)   X-Ref
Import Field of the module


import_CustomViews($modulenode, $moduleInstance)   X-Ref
Import Custom views of the module


import_CustomView($modulenode, $moduleInstance, $customviewnode)   X-Ref
Import Custom View of the module


import_SharingAccess($modulenode, $moduleInstance)   X-Ref
Import Sharing Access of the module


import_Events($modulenode, $moduleInstance)   X-Ref
Import Events of the module


import_Event($modulenode, $moduleInstance, $eventnode)   X-Ref
Import Event of the module


import_Actions($modulenode, $moduleInstance)   X-Ref
Import actions of the module


import_Action($modulenode, $moduleInstance, $actionnode)   X-Ref
Import action of the module


import_RelatedLists($modulenode, $moduleInstance)   X-Ref
Import related lists of the module


import_Relatedlist($modulenode, $moduleInstance, $relatedlistnode)   X-Ref
Import related list of the module.


import_CustomLinks($modulenode, $moduleInstance)   X-Ref
Import custom links of the module.


import_CronTasks($modulenode)   X-Ref
Import cron jobs of the module.




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1