array('numeric'), 'display_name' => array('notempty'), 'id_federal' => array('ssn'), 'id_exp' => array('date') ); var $hasAndBelongsToMany = array( 'Customer' => array( 'className' => 'Customer', 'joinTable' => 'contacts_customers', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'customer_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), 'ContactAddress' => array( 'className' => 'ContactAddress', 'joinTable' => 'contacts_methods', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'method_id', 'unique' => true, 'conditions' => "method = 'POST'", 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), 'ContactPhone' => array( 'className' => 'ContactPhone', 'joinTable' => 'contacts_methods', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'method_id', 'unique' => true, 'conditions' => "method = 'PHONE'", 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), 'ContactEmail' => array( 'className' => 'ContactEmail', 'joinTable' => 'contacts_methods', 'foreignKey' => 'contact_id', 'associationForeignKey' => 'method_id', 'unique' => true, 'conditions' => "method = 'EMAIL'", 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), ); } ?>