Last active
August 26, 2022 12:39
-
-
Save pepebe/2d2620925fd070c3cbd9d1747d1cf607 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/* | |
write all formvalues as well as the complete formit config into modx error log | |
*/ | |
$modx->log(xPDO::LOG_LEVEL_ERROR, "snippetname values: " . print_r($hook->getValues(), true)); | |
$modx->log(xPDO::LOG_LEVEL_ERROR, "snippetname config: " . print_r($hook->formit->config, true)); | |
return true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment