[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 706 lines (23 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 5 files
 vtlib/Vtiger/Menu.php
 vtlib/Vtiger/Event.php
 vtlib/Vtiger/Cron.php
 vtlib/Vtiger/Module.php
 vtlib/Vtiger/Zip.php

Defines 1 class

Vtiger_PackageExport:: (24 methods):
  Vtiger_PackageExport()
  openNode()
  closeNode()
  outputNode()
  __write()
  __getManifestFilePath()
  __initExport()
  __finishExport()
  __cleanupExport()
  export()
  __copyLanguageFiles()
  export_Dependencies()
  export_Module()
  export_Tables()
  export_Blocks()
  export_Fields()
  export_CustomViews()
  export_SharingAccess()
  export_Events()
  export_Actions()
  export_RelatedLists()
  export_CustomLinks()
  export_CronTasks()
  log()


Class: Vtiger_PackageExport  - X-Ref

Provides API to package vtiger CRM module and associated files.

Vtiger_PackageExport()   X-Ref
Constructor


openNode($node,$delimiter="\n")   X-Ref
No description

closeNode($node,$delimiter="\n")   X-Ref
No description

outputNode($value, $node='')   X-Ref
No description

__write($value)   X-Ref
No description

__getManifestFilePath()   X-Ref
Set the module.xml file path for this export and
return its temporary path.


__initExport($module, $moduleInstance)   X-Ref
Initialize Export


__finishExport()   X-Ref
Post export work.


__cleanupExport()   X-Ref
Clean up the temporary files created.


export($moduleInstance, $todir='', $zipfilename='', $directDownload=false)   X-Ref
Export Module as a zip file.

param: Vtiger_Module Instance of module
param: Path Output directory path
param: String Zipfilename to use
param: Boolean True for sending the output as download

__copyLanguageFiles($zip, $module)   X-Ref
Function copies language files to zip

param: <Vtiger_Zip> $zip
param: <String> $module

export_Dependencies($moduleInstance)   X-Ref
Export vtiger dependencies


export_Module($moduleInstance)   X-Ref
Export Module Handler


export_Tables($moduleInstance)   X-Ref
Export module base and related tables


export_Blocks($moduleInstance)   X-Ref
Export module blocks with its related fields


export_Fields($moduleInstance, $blockid)   X-Ref
Export fields related to a module block


export_CustomViews($moduleInstance)   X-Ref
Export Custom views of the module


export_SharingAccess($moduleInstance)   X-Ref
Export Sharing Access of the module


export_Events($moduleInstance)   X-Ref
Export Events of the module


export_Actions($moduleInstance)   X-Ref
Export actions (tools) associated with module.
TODO: Need to pickup values based on status for all user (profile)


export_RelatedLists($moduleInstance)   X-Ref
Export related lists associated with module.


export_CustomLinks($moduleInstance)   X-Ref
Export custom links of the module.


export_CronTasks($moduleInstance)   X-Ref
Export cron tasks for the module.


log($message, $delim=true)   X-Ref
Helper function to log messages

param: String Message to log
param: Boolean true appends linebreak, false to avoid it



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