array('numeric'), 'display_name' => array('notempty'), 'id_federal' => array('ssn'), 'id_exp' => array('date') ); var $hasAndBelongsToMany = array( 'Lease' => array( 'className' => 'Lease', 'joinTable' => 'contacts_leases', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'lease_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), 'ContactEmail' => array( 'className' => 'ContactEmail', 'joinTable' => 'contacts_methods', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'method_id', 'unique' => true, 'conditions' => "ContactsMethod.method = 'EMAIL'", 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ) ); } ?>