xml/templates/dao.tpl - Simplify fieldKeys()
authorTim Otten <totten@civicrm.org>
Thu, 28 Jul 2016 21:41:58 +0000 (14:41 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 28 Jul 2016 22:51:56 +0000 (15:51 -0700)
commit787b31c72c58ab9c10421861b373c751e2a555df
tree22b6a114a9bd88dfd4364fac0fb43c2e2c5d6270
parent60808919139a05136c4c3bc4900b7a930d9cff33
xml/templates/dao.tpl - Simplify fieldKeys()

The information here is redundant with the information in `fields()`. We
can make `fields()` more hookable (and reduce SLOC) by generating this.

QA note: To test that these patches had no functional impact, I used some
helper scripts: https://gist.github.com/totten/4473975264fc2a788391d3c5ef5bf18b

Fun fact: This is net-reduction of ~2,500 SLOC.
xml/templates/dao.tpl