Created
August 17, 2011 14:00
-
-
Save splittingred/1151579 to your computer and use it in GitHub Desktop.
Example resolver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($object->xpdo) { | |
$modx =& $object->xpdo; | |
switch ($options[xPDOTransport::PACKAGE_ACTION]) { | |
case xPDOTransport::ACTION_INSTALL: | |
break; | |
case xPDOTransport::ACTION_UPGRADE: | |
break; | |
case xPDOTransport::ACTION_UNINSTALL: | |
break; | |
} | |
} | |
return true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment