Customizing SugarBean.php

Hi all,

Could we customize the SugarBean.php class?
Where is the correct folder to place the customized script?

Thank you.

Can’t you just override some methods?

See for example

modules/Schedulers/Scheduler.php line 1000 and following

If you really need a custom version, just try adding “custom” to the beginning of the path. But I don’t think it’s going to work for this file, since I see "require"s in the code referencing it directly from its directory, without checking for a customized version first…

1 Like