getObject('transport.modTransportPackage', array('package_name' => 'pdoTools')); break; case xPDOTransport::ACTION_UPGRADE: //$exists = $modx->getObject('transport.modTransportPackage', array('package_name' => 'pdoTools')); if (!empty($options['attributes']['chunks'])) { $chunks = ''; } break; case xPDOTransport::ACTION_UNINSTALL: break; } $output = ''; /* if (!$exists) { switch ($modx->getOption('manager_language')) { case 'ru': $output = 'Этот компонент требует pdoTools для быстрой работы сниппетов.
Он будет автоматически скачан и установлен.'; break; default: $output = 'This component requires pdoTools for fast work of snippets.

It will be automaticly downloaded and installed?'; } } */ if ($chunks) { /* if (!$exists) { $output .= '

'; } */ switch ($modx->getOption('manager_language')) { case 'ru': $output .= 'Выберите чанки, которые нужно перезаписать:
отметить все | cнять отметки '; break; default: $output .= 'Select chunks, which need to overwrite:
select all | deselect all '; } $output .= $chunks; } return $output;