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

File: Tools.php

Source Location: /Image_Tools-0.4.1/Image/Tools.php

Classes:

Image_Tools
This is the Image_Tools base class

Page Details:

This is a main file of Image_Tools package.

PHP versions 4 and 5

LICENSE:

Copyright (c) 2005-2006 Tobias Schlitt <toby@php.net>, Firman Wandayandi <firman@php.net> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted under the terms of the BSD License.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER 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.

  • Version: CVS: $Id: Tools.php,v 1.7 2006/11/23 22:17:31 firman Exp $
  • Filesource: Source Code for this file
  • License: BSD License
  • Copyright: Copyright (c) 2003-2006 Tobias Schlitt <toby@php.net>, Firman Wandayandi <firman@php.net>
  • Author: Tobias Schlitt <toby@php.net>
  • Author: Firman Wandayandi <firman@php.net>

Includes:

require_once('PEAR.php') [line 50]
load PEAR for error handling.
require_once('PHP/Compat.php') [line 55]
load PHP_Compat for PHP backward compatibility.

IMAGE_TOOLS_BASE_ERR_CLASS_INVALID [line 76]

IMAGE_TOOLS_BASE_ERR_CLASS_INVALID = -1
Image_Tools error, indicating that the given tool was not found.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_CLASS_INVALID

[ Top ]



IMAGE_TOOLS_BASE_ERR_HEADERSEND_FAILED [line 139]

IMAGE_TOOLS_BASE_ERR_HEADERSEND_FAILED = -8
Image_Tools error, indicating that the HTTP headers have been sent before the display() method was called. Ensure that no output started before that.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_HEADERSEND_FAILED

[ Top ]



IMAGE_TOOLS_BASE_ERR_IMAGETYPE_UNSUPPORTED [line 149]

IMAGE_TOOLS_BASE_ERR_IMAGETYPE_UNSUPPORTED = -9
Image_Tools error, indicating that the image type you selected for displaying the image is not supported. Please use a supported image type.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_IMAGETYPE_UNSUPPORTED

[ Top ]



IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FAILED [line 85]

IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FAILED = -2
Image_Tools error, indicating that the given tool object could not be instanciated.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FAILED

[ Top ]



IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FORBIDEN [line 94]

IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FORBIDEN = -3
Image_Tools error, indicating that you may not instanciate the base class Image_Tools directly.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_INSTANCIATION_FAILED

[ Top ]



IMAGE_TOOLS_BASE_ERR_METHOD_UNSUPPORTED [line 120]

IMAGE_TOOLS_BASE_ERR_METHOD_UNSUPPORTED = -6
Image_Tools error, indicating that the given method is not supported by the tool.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_METHOD_UNSUPPORTED

[ Top ]



IMAGE_TOOLS_BASE_ERR_NONSTATIC_FAILED [line 167]

IMAGE_TOOLS_BASE_ERR_NONSTATIC_FAILED = -11
Image_Tools error, indicating that you called a static method non statically, which may only be called statically.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_NONSTATIC_FAILED

[ Top ]



IMAGE_TOOLS_BASE_ERR_OPTION_INVALID [line 102]

IMAGE_TOOLS_BASE_ERR_OPTION_INVALID = -4
Image_Tools error, indicating that the given option was of a wrong type.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_OPTION_INVALID

[ Top ]



IMAGE_TOOLS_BASE_ERR_OPTION_NOTSET [line 129]

IMAGE_TOOLS_BASE_ERR_OPTION_NOTSET = -7
Image_Tools error, indicating that the given option is not set.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_OPTION_NOTSET

[ Top ]



IMAGE_TOOLS_BASE_ERR_OPTION_UNSUPPORTED [line 111]

IMAGE_TOOLS_BASE_ERR_OPTION_UNSUPPORTED = -5
Image_Tools error, indicating that the given option is not supported by the tool.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_OPTION_UNSUPPORTED

[ Top ]



IMAGE_TOOLS_BASE_ERR_SAVEIMAGE_FAILED [line 158]

IMAGE_TOOLS_BASE_ERR_SAVEIMAGE_FAILED = -10
Image_Tools error, indicating that the image could not be saved.

Check the permissions on the desired path first.

  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_SAVEIMAGE_FAILED

[ Top ]



IMAGE_TOOLS_BASE_ERR_STATIC_FAILED [line 176]

IMAGE_TOOLS_BASE_ERR_STATIC_FAILED = -12
Image_Tools error, indicating that you called a static method statically, which may only be called non statically.
  • Access: public
  • Name: IMAGE_TOOLS_BASE_ERR_STATIC_FAILED

[ Top ]



Documentation generated on Thu, 23 Nov 2006 18:00:09 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.