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
#!/usr/bin/php | |
<?php | |
/* | |
* Copyright 2013 | |
* Jeff Bickart | |
* @bickart | |
* jeff @ neposystems.com | |
*/ |
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 | |
class Accounts_logic_hook_class | |
{ | |
function Accounts_logic_hook_method(&$bean, $event, $arguments) | |
{ | |
echo "Hit the Accounts before save logic hook"; | |
exit; | |
} | |
} |
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 | |
// this file is upgrade safe | |
// location: custom/modules/Contacts/views/view.detail.php | |
require_once('modules/Contacts/views/view.detail.php'); | |
class CustomContactsViewDetail extends ContactsViewDetail { | |
/** | |
* @see SugarView::display() |