Blame | Last modification | View Log | RSS feed
<?phpApp::uses('AppModel', 'Model');/*** Callhistory Model** @property Retailer $Retailer* @property Agent $Agent*/class Callhistory extends AppModel {/*** Use table** @var mixed False or table name*/public $useTable = 'callhistory';/*** Display field** @var string*/public $displayField = 'id';//The Associations below have been created with all possible keys, those that are not needed can be removed/*** belongsTo associations** @var array*/public $belongsTo = array('Retailer' => array('className' => 'Retailer','foreignKey' => 'retailer_id','conditions' => '','fields' => '','order' => ''),'Agent' => array('className' => 'Agent','foreignKey' => 'agent_id','conditions' => '','fields' => '','order' => ''));}