| | |
| | | var $result = null; |
| | | var $search_fields; |
| | | var $search_string; |
| | | var $table_cols = array('name', 'email', 'firstname', 'surname'); |
| | | var $table_cols = array('name', 'email', 'firstname', 'surname', 'vcard'); |
| | | |
| | | /** public properties */ |
| | | var $primary_key = 'contact_id'; |
| | |
| | | $this->db_name = get_table_name('contacts'); |
| | | $this->user_id = $user; |
| | | $this->ready = $this->db && !$this->db->is_error(); |
| | | } |
| | | |
| | | /** |
| | | * PHP 4 object constructor |
| | | * |
| | | * @see rcube_contacts::__construct() |
| | | */ |
| | | function rcube_contacts($dbconn, $user) |
| | | { |
| | | $this->__construct($dbconn, $user); |
| | | } |
| | | |
| | | |