-
-
Save devfabriciobr/5a0844fe8c2de012d037d4ec38136f1d to your computer and use it in GitHub Desktop.
MOSTRAR REGISTROS DELETADOS
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 | |
| public function onReload($param = NULL) | |
| { | |
| try | |
| { | |
| TTransaction::open(self::$database); | |
| $repository = new TRepository(self::$activeRecord); | |
| # MOSTRA TODOS OS REGISTROS + DELETADOS | |
| //<onBeforeDatagridLoad> | |
| $repository->withTrashed(); | |
| //</onBeforeDatagridLoad> | |
| TTransaction::close(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment