/** * 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', 'name' => 'name', 'title' => 'title', 'description' => 'description', 'start_date' => 'start_date', 'end_date' => 'end_date', 'campaign_type_id' => 'campaign_type_id', 'status_id' => 'status_id', 'external_identifier' => 'external_identifier', 'parent_id' => 'parent_id', 'is_active' => 'is_active', 'created_id' => 'created_id', 'created_date' => 'created_date', 'last_modified_id' => 'last_modified_id', 'last_modified_date' => 'last_modified_date', 'goal_general' => 'goal_general', 'goal_revenue' => 'goal_revenue'); } return self::$_fieldKeys; }