Created
October 18, 2012 02:31
-
-
Save eggsurplus/3909550 to your computer and use it in GitHub Desktop.
Safely Customizing a Core Bean in SugarCRM - Part 1. CustomCasesController
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 | |
| if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
| //custom/modules/Cases/controller.php | |
| require_once('include/MVC/Controller/SugarController.php'); | |
| require_once('custom/modules/Cases/SOCustomCase.php'); | |
| class CustomCasesController extends SugarController { | |
| function action_listview() { | |
| $this->bean = new SOCustomCase(); | |
| parent::action_listview(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment