Translation2
[ class tree: Translation2 ] [ index: Translation2 ] [ all elements ]

File: Translation2.php

Source Location: /Translation2-2.0.4/Translation2.php

Classes:

Translation2
Translation2 base class

Page Details:

Contains the Translation2 base class

PHP versions 4 and 5

LICENSE: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Includes:

require_once('PEAR.php') [line 42]
require PEAR base class

TRANSLATION2_DEFAULT_PAGEID [line 50]

TRANSLATION2_DEFAULT_PAGEID = 'translation2_default_pageID'
Allows redefinition of the default pageID.

This constant is needed to allow both NULL and EMPTY pageID values and to have them match


[ Top ]



TRANSLATION2_ERROR [line 55]

TRANSLATION2_ERROR = -1
Class Error codes

[ Top ]



TRANSLATION2_ERROR_CANNOT_CONNECT [line 57]

TRANSLATION2_ERROR_CANNOT_CONNECT = -3

[ Top ]



TRANSLATION2_ERROR_CANNOT_CREATE_DIR [line 61]

TRANSLATION2_ERROR_CANNOT_CREATE_DIR = -7

[ Top ]



TRANSLATION2_ERROR_CANNOT_FIND_FILE [line 58]

TRANSLATION2_ERROR_CANNOT_FIND_FILE = -4

[ Top ]



TRANSLATION2_ERROR_CANNOT_WRITE_FILE [line 62]

TRANSLATION2_ERROR_CANNOT_WRITE_FILE = -8

[ Top ]



TRANSLATION2_ERROR_DOMAIN_NOT_SET [line 59]

TRANSLATION2_ERROR_DOMAIN_NOT_SET = -5

[ Top ]



TRANSLATION2_ERROR_ENCODING_CONVERSION [line 64]

TRANSLATION2_ERROR_ENCODING_CONVERSION = -10

[ Top ]



TRANSLATION2_ERROR_INVALID_PATH [line 60]

TRANSLATION2_ERROR_INVALID_PATH = -6

[ Top ]



TRANSLATION2_ERROR_METHOD_NOT_SUPPORTED [line 56]

TRANSLATION2_ERROR_METHOD_NOT_SUPPORTED = -2

[ Top ]



TRANSLATION2_ERROR_UNKNOWN_LANG [line 63]

TRANSLATION2_ERROR_UNKNOWN_LANG = -9

[ Top ]



TRANSLATION2_ERROR_UNSUPPORTED [line 65]

TRANSLATION2_ERROR_UNSUPPORTED = -11

[ Top ]



Documentation generated on Mon, 06 Dec 2010 00:00:29 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.