×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Marco Matta
Added: Oct 14, 2021 12:44 PM
Views: 2455
Tags: sugarcrm
  1. <?php
  2.  
  3. $manifest = array(
  4.     // A unique identifier for the package
  5.     'key' => 1397052912,
  6.     // The name of the package
  7.     'name' => 'My manifest',
  8.     // The description of the package
  9.     'description' => 'My description',
  10.     // The version of Sugar that the package was designed for
  11.     'built_in_version' => '11.1.0',
  12.     // The version of the package, i.e. "1.0.0"
  13.     'version' => '1.0.0',
  14.     // The author of the package (i.e. "SugarCRM")
  15.     'author' => 'SugarCRM',
  16.     // Whether or not the package can be uninstalled
  17.     'is_uninstallable' => true,
  18.     // The date the package was published
  19.     'published_date' => '08/08/2021 14:15:12',
  20.     'type' => 'module',
  21.     // The Sugar versions that a package can be installed to
  22.     'acceptable_sugar_versions' =>
  23.     array(
  24.         'exact_matches' => array(
  25.             '11.1.0'
  26.         ),
  27.         //or
  28.         'regex_matches' => array(
  29.             '11.1.*' //any 11.1 release
  30.         ),
  31.     ),
  32.     // The Sugar products that the package can be installed to
  33.     'acceptable_sugar_flavors' =>
  34.     array(
  35.         'PRO',
  36.         'ENT',
  37.         'ULT'
  38.     ),
  39.     // The optional path to a readme document to be displayed to the user during installation
  40.     'readme' => '',
  41.     // The optional path (within the package ZIP file) to an icon image to be displayed during installation (e.g. ./patch_directory/icon.gif and ./patch_directory/images/theme.gif)
  42.     'icon' => '',
  43.     // Whether or not tables generated by the $installdefs['beans'] index should be removed from an installed module (acceptable values: empty or 'prompt')
  44.     'remove_tables' => '',
  45.     // This will allow Module Loader to ensure all traces of previously installed package versions (including packages that have been upgraded multiple times) have been removed.
  46.     'uninstall_before_upgrade' => false,
  47. );
  48.