/app/models/drug.php and add
var $hasMany = array('Reminder');
Save and upload the file.
Drug Education and Medication Adherence Service developed in CakePHP
/app/models/drug.php and add
var $hasMany = array('Reminder');
Save and upload the file.
/app/models/carrier.php and add
var $hasMany = array('User');
Upload the file.
/app/models/user.php and add
var $hasMany = array('Reminder');
var $belongsTo = array('Carrier');
Upload the file.
var $hasMany=> array( 'Reminder' => array( 'className' => 'Reminder', 'foreignKey' => 'UniqueUserID' ) );