Changeset [b43ff2a4dc1f9be4cbfb13ed2deff4b5625c4368] by Andrew Ho

July 4th, 2009 @ 09:14 AM

Abstracted code for lookup tables into LookupTableModel (which extends AppModel) so that, for example, validation code doesn't require re-writing as all the lookup tables have the same schema.

Therefore, when creating models for lookup tables, define them as 'extends LookupTableModel'. http://github.com/kenners/uamuzi...

Committed by Andrew Ho

  • M www/app/app_model.php
  • M www/app/models/occupation.php
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A basic HIV Electronic Medical Record (EMR) system using CakePHP.

Shared Ticket Bins