(REF) GenerateData - Use overrideable 'echo'. Use exceptions.
authorTim Otten <totten@civicrm.org>
Wed, 16 Sep 2020 08:08:03 +0000 (01:08 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 16 Sep 2020 11:09:04 +0000 (04:09 -0700)
commit07e41513a2b8640acb1e89c60731da7f90032445
treea00ec42fc78f11b75267524e4f929bfee6c024b1
parent6397fe92540529aabaee44e474f5f623ef0669f0
(REF) GenerateData - Use overrideable 'echo'. Use exceptions.

This removes elements of GenerateData which perform direct output to the user. there
are basically two cases:

1. Outputting advisory/status info (e.g. "echo"). This now goes through a method, which
   can be overriden/replaced.

2. Displaying errors from DAO-calls. Now-a-days, DAO-calls can raise their own exceptions,
   so we don't need to sprinkle it without error-outputs.
CRM/Core/CodeGen/GenerateData.php
sql/GenerateData.php