File: UPGRADING

package info (click to toggle)
php-horde-data 2.1.4-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 816 kB
  • sloc: php: 1,760; xml: 855; sh: 3; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 904 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
======================
 Upgrading Horde_Data
======================

:Contact: dev@lists.horde.org

.. contents:: Contents
.. section-numbering::


This lists the API changes between releases of the package.


Upgrading to 2.0
================

  - Horde_Data

    The factory method has been removed. Directly instantiate a transport
    driver instead.

  - Horde_Data_Base

    The constructor now requires a Horde_Data_Storage object to be passed in
    as the first argument.

  - Horde_Data_Csv

    The static helper method getCsv() was added.
    Removed the default charset member variable. The output charset is now
    always UTF-8.
    nextStep() now supports the 'check_charset' parameter, which throws a
    Horde_Data_Exception_Charset exception if the charset does not match up
    with the data.

  - Horde_Data_Storage

    Temporary data storage has been abstracted out to this class.