50b976f0347c09a9a3850334d5ec5b47.vehicle 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?php return array (
  2. 'preserve_keys' => false,
  3. 'update_object' => true,
  4. 'unique_key' => 'name',
  5. 'related_objects' =>
  6. array (
  7. 'PluginEvents' =>
  8. array (
  9. '31b4b628816d3fc7a86992d4f7a674d9' =>
  10. array (
  11. 'preserve_keys' => true,
  12. 'update_object' => false,
  13. 'unique_key' =>
  14. array (
  15. 0 => 'pluginid',
  16. 1 => 'event',
  17. ),
  18. 'class' => 'modPluginEvent',
  19. 'object' => '{"pluginid":0,"event":"OnTVInputRenderList","priority":0,"propertyset":0}',
  20. 'guid' => '78a2da8b578a97c3769a6ea3a8d71093',
  21. 'native_key' =>
  22. array (
  23. 0 => 0,
  24. 1 => 'OnTVInputRenderList',
  25. ),
  26. 'signature' => 'f65e57bdc25e9a13c1f37682892aaf4e',
  27. ),
  28. 'd51da72789a032c700e74f64c84968cd' =>
  29. array (
  30. 'preserve_keys' => true,
  31. 'update_object' => false,
  32. 'unique_key' =>
  33. array (
  34. 0 => 'pluginid',
  35. 1 => 'event',
  36. ),
  37. 'class' => 'modPluginEvent',
  38. 'object' => '{"pluginid":0,"event":"OnTVInputPropertiesList","priority":0,"propertyset":0}',
  39. 'guid' => '9d1842b08e6540ac31a3055458064b1f',
  40. 'native_key' =>
  41. array (
  42. 0 => 0,
  43. 1 => 'OnTVInputPropertiesList',
  44. ),
  45. 'signature' => '736e408be0a820f91a71551ade9f64ad',
  46. ),
  47. '9f8612974b2b5481fb5b8b3dd81320d7' =>
  48. array (
  49. 'preserve_keys' => true,
  50. 'update_object' => false,
  51. 'unique_key' =>
  52. array (
  53. 0 => 'pluginid',
  54. 1 => 'event',
  55. ),
  56. 'class' => 'modPluginEvent',
  57. 'object' => '{"pluginid":0,"event":"OnTVOutputRenderList","priority":0,"propertyset":0}',
  58. 'guid' => '6f4d5f4fcbb47716984c82544c97198b',
  59. 'native_key' =>
  60. array (
  61. 0 => 0,
  62. 1 => 'OnTVOutputRenderList',
  63. ),
  64. 'signature' => '1d8bec4c4a8721b015994da552c9aa2d',
  65. ),
  66. '925761df08b716e3069066ead3428db6' =>
  67. array (
  68. 'preserve_keys' => true,
  69. 'update_object' => false,
  70. 'unique_key' =>
  71. array (
  72. 0 => 'pluginid',
  73. 1 => 'event',
  74. ),
  75. 'class' => 'modPluginEvent',
  76. 'object' => '{"pluginid":0,"event":"OnTVOutputRenderPropertiesList","priority":0,"propertyset":0}',
  77. 'guid' => 'f36f824090f1e59a330d09865b9b99ef',
  78. 'native_key' =>
  79. array (
  80. 0 => 0,
  81. 1 => 'OnTVOutputRenderPropertiesList',
  82. ),
  83. 'signature' => 'e2b28a11655ba254954d0b6583a03a70',
  84. ),
  85. '6d48abd5c16b2796e8fa64cf3ca5c3eb' =>
  86. array (
  87. 'preserve_keys' => true,
  88. 'update_object' => false,
  89. 'unique_key' =>
  90. array (
  91. 0 => 'pluginid',
  92. 1 => 'event',
  93. ),
  94. 'class' => 'modPluginEvent',
  95. 'object' => '{"pluginid":0,"event":"OnDocFormPrerender","priority":0,"propertyset":0}',
  96. 'guid' => '42ec13f901061223a3d64dfe791873fe',
  97. 'native_key' =>
  98. array (
  99. 0 => 0,
  100. 1 => 'OnDocFormPrerender',
  101. ),
  102. 'signature' => '2b8ddc3382ef718fd625dddef0548425',
  103. ),
  104. 'fb166f80d59ad6d7fa178cf5b76c439f' =>
  105. array (
  106. 'preserve_keys' => true,
  107. 'update_object' => false,
  108. 'unique_key' =>
  109. array (
  110. 0 => 'pluginid',
  111. 1 => 'event',
  112. ),
  113. 'class' => 'modPluginEvent',
  114. 'object' => '{"pluginid":0,"event":"OnManagerPageBeforeRender","priority":0,"propertyset":0}',
  115. 'guid' => 'e361168a994e9ada8ec1562c85d143a2',
  116. 'native_key' =>
  117. array (
  118. 0 => 0,
  119. 1 => 'OnManagerPageBeforeRender',
  120. ),
  121. 'signature' => '5b87f88a87b06cc5bbac658e272c30d5',
  122. ),
  123. ),
  124. ),
  125. 'related_object_attributes' =>
  126. array (
  127. 'PluginEvents' =>
  128. array (
  129. 'preserve_keys' => true,
  130. 'update_object' => false,
  131. 'unique_key' =>
  132. array (
  133. 0 => 'pluginid',
  134. 1 => 'event',
  135. ),
  136. ),
  137. ),
  138. 'namespace' => 'gallery',
  139. 'resolve' => NULL,
  140. 'validate' => NULL,
  141. 'vehicle_package' => 'transport',
  142. 'vehicle_class' => 'xPDOObjectVehicle',
  143. 'guid' => '2f0ec340a0f42a6e815fd8b40f39c49c',
  144. 'package' => 'modx',
  145. 'class' => 'modPlugin',
  146. 'signature' => '50b976f0347c09a9a3850334d5ec5b47',
  147. 'native_key' => 1,
  148. 'object' => '{"id":1,"source":0,"property_preprocess":0,"name":"GalleryCustomTV","description":"","editor_type":0,"category":0,"cache_type":0,"plugincode":"\\/**\\n * Handles plugin events for Gallery\'s Custom TV\\n * \\n * @package gallery\\n *\\/\\n$corePath = $modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\');\\nswitch ($modx->event->name) {\\n case \'OnTVInputRenderList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/input\\/\');\\n break;\\n case \'OnTVOutputRenderList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/output\\/\');\\n break;\\n case \'OnTVInputPropertiesList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/inputoptions\\/\');\\n break;\\n case \'OnTVOutputRenderPropertiesList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/properties\\/\');\\n break;\\n case \'OnManagerPageBeforeRender\':\\n $gallery = $modx->getService(\'gallery\',\'Gallery\',$modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\').\'model\\/gallery\\/\',$scriptProperties);\\n if (!($gallery instanceof Gallery)) return \'\';\\n\\n $snippetIds = \'\';\\n $gallerySnippet = $modx->getObject(\'modSnippet\',array(\'name\' => \'Gallery\'));\\n if ($gallerySnippet) {\\n $snippetIds .= \'GAL.snippetGallery = \\"\'.$gallerySnippet->get(\'id\').\'\\";\'.\\"\\\\n\\";\\n }\\n $galleryItemSnippet = $modx->getObject(\'modSnippet\',array(\'name\' => \'GalleryItem\'));\\n if ($galleryItemSnippet) {\\n $snippetIds .= \'GAL.snippetGalleryItem = \\"\'.$galleryItemSnippet->get(\'id\').\'\\";\'.\\"\\\\n\\";\\n }\\n\\n $jsDir = $modx->getOption(\'gallery.assets_url\',null,$modx->getOption(\'assets_url\').\'components\\/gallery\\/\').\'js\\/mgr\\/\';\\n $modx->controller->addLexiconTopic(\'gallery:default\');\\n $modx->controller->addJavascript($jsDir.\'gallery.js\');\\n $modx->controller->addJavascript($jsDir.\'tree.js\');\\n $modx->controller->addHtml(\'<script type=\\"text\\/javascript\\">\\n Ext.onReady(function() {\\n GAL.config.connector_url = \\"\'.$gallery->config[\'connectorUrl\'].\'\\";\\n \'.$snippetIds.\'\\n });\\n <\\/script>\');\\n break;\\n case \'OnDocFormPrerender\':\\n $gallery = $modx->getService(\'gallery\',\'Gallery\',$modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\').\'model\\/gallery\\/\',$scriptProperties);\\n if (!($gallery instanceof Gallery)) return \'\';\\n\\n \\/* assign gallery lang to JS *\\/\\n $modx->controller->addLexiconTopic(\'gallery:tv\');\\n\\n \\/* @var modAction $action *\\/\\n $action = $modx->getObject(\'modAction\',array(\\n \'namespace\' => \'gallery\',\\n \'controller\' => \'index\',\\n ));\\n $modx->controller->addHtml(\'<script type=\\"text\\/javascript\\">\\n Ext.onReady(function() {\\n GAL.config = {};\\n GAL.config.connector_url = \\"\'.$gallery->config[\'connectorUrl\'].\'\\";\\n GAL.action = \\"\'.($action ? $action->get(\'id\') : 0).\'\\";\\n });\\n <\\/script>\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/Spotlight.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/gallery.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/widgets\\/album\\/album.items.view.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/widgets\\/album\\/album.tree.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/gal.browser.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/galtv.js\');\\n $modx->controller->addCss($gallery->config[\'cssUrl\'].\'mgr.css\');\\n break;\\n}\\nreturn;","locked":0,"properties":null,"disabled":0,"moduleguid":"","static":0,"static_file":"","content":"\\/**\\n * Handles plugin events for Gallery\'s Custom TV\\n * \\n * @package gallery\\n *\\/\\n$corePath = $modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\');\\nswitch ($modx->event->name) {\\n case \'OnTVInputRenderList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/input\\/\');\\n break;\\n case \'OnTVOutputRenderList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/output\\/\');\\n break;\\n case \'OnTVInputPropertiesList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/inputoptions\\/\');\\n break;\\n case \'OnTVOutputRenderPropertiesList\':\\n $modx->event->output($corePath.\'elements\\/tv\\/properties\\/\');\\n break;\\n case \'OnManagerPageBeforeRender\':\\n $gallery = $modx->getService(\'gallery\',\'Gallery\',$modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\').\'model\\/gallery\\/\',$scriptProperties);\\n if (!($gallery instanceof Gallery)) return \'\';\\n\\n $snippetIds = \'\';\\n $gallerySnippet = $modx->getObject(\'modSnippet\',array(\'name\' => \'Gallery\'));\\n if ($gallerySnippet) {\\n $snippetIds .= \'GAL.snippetGallery = \\"\'.$gallerySnippet->get(\'id\').\'\\";\'.\\"\\\\n\\";\\n }\\n $galleryItemSnippet = $modx->getObject(\'modSnippet\',array(\'name\' => \'GalleryItem\'));\\n if ($galleryItemSnippet) {\\n $snippetIds .= \'GAL.snippetGalleryItem = \\"\'.$galleryItemSnippet->get(\'id\').\'\\";\'.\\"\\\\n\\";\\n }\\n\\n $jsDir = $modx->getOption(\'gallery.assets_url\',null,$modx->getOption(\'assets_url\').\'components\\/gallery\\/\').\'js\\/mgr\\/\';\\n $modx->controller->addLexiconTopic(\'gallery:default\');\\n $modx->controller->addJavascript($jsDir.\'gallery.js\');\\n $modx->controller->addJavascript($jsDir.\'tree.js\');\\n $modx->controller->addHtml(\'<script type=\\"text\\/javascript\\">\\n Ext.onReady(function() {\\n GAL.config.connector_url = \\"\'.$gallery->config[\'connectorUrl\'].\'\\";\\n \'.$snippetIds.\'\\n });\\n <\\/script>\');\\n break;\\n case \'OnDocFormPrerender\':\\n $gallery = $modx->getService(\'gallery\',\'Gallery\',$modx->getOption(\'gallery.core_path\',null,$modx->getOption(\'core_path\').\'components\\/gallery\\/\').\'model\\/gallery\\/\',$scriptProperties);\\n if (!($gallery instanceof Gallery)) return \'\';\\n\\n \\/* assign gallery lang to JS *\\/\\n $modx->controller->addLexiconTopic(\'gallery:tv\');\\n\\n \\/* @var modAction $action *\\/\\n $action = $modx->getObject(\'modAction\',array(\\n \'namespace\' => \'gallery\',\\n \'controller\' => \'index\',\\n ));\\n $modx->controller->addHtml(\'<script type=\\"text\\/javascript\\">\\n Ext.onReady(function() {\\n GAL.config = {};\\n GAL.config.connector_url = \\"\'.$gallery->config[\'connectorUrl\'].\'\\";\\n GAL.action = \\"\'.($action ? $action->get(\'id\') : 0).\'\\";\\n });\\n <\\/script>\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/Spotlight.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/gallery.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/widgets\\/album\\/album.items.view.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/widgets\\/album\\/album.tree.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/gal.browser.js\');\\n $modx->controller->addJavascript($gallery->config[\'assetsUrl\'].\'js\\/mgr\\/tv\\/galtv.js\');\\n $modx->controller->addCss($gallery->config[\'cssUrl\'].\'mgr.css\');\\n break;\\n}\\nreturn;"}',
  149. );