/** * Returns an array containing, for each field, the arary key used for that * field in self::$_fields. * * @return array */ static function &fieldKeys() { if (!self::$_fieldKeys) { self::$_fieldKeys = array('id' => 'id', 'entity_table' => 'entity_table', 'entity_id' => 'entity_id', 'note' => 'note', 'contact_id' => 'contact_id', 'modified_date' => 'modified_date', 'subject' => 'subject', 'privacy' => 'privacy'); } return self::$_fieldKeys; }