cvs: pear /Image_Transform Transform.php

[email protected] ("Christian Weiske")
Newsgroups php.pear.cvs
Message-ID <cvscweiske1209417370@cvsserver>
cweiske		Mon Apr 28 21:16:10 2008 UTC

  Modified files:              
    /pear/Image_Transform	Transform.php 
  Log:
  Add getHandle() to Transform.php so all drivers have it
  
  
http://cvs.php.net/viewvc.cgi/pear/Image_Transform/Transform.php?r1=1.52&r2=1.53&diff_format=u
Index: pear/Image_Transform/Transform.php
diff -u pear/Image_Transform/Transform.php:1.52 pear/Image_Transform/Transform.php:1.53
--- pear/Image_Transform/Transform.php:1.52	Mon Apr 28 20:59:52 2008
+++ pear/Image_Transform/Transform.php	Mon Apr 28 21:16:10 2008
@@ -22,7 +22,7 @@
  * @author     Philippe Jausions <[email protected]>
  * @copyright  2002-2007 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: Transform.php,v 1.52 2008/04/28 20:59:52 cweiske Exp $
+ * @version    CVS: $Id: Transform.php,v 1.53 2008/04/28 21:16:10 cweiske Exp $
  * @link       http://pear.php.net/package/Image_Transform
  */
 
@@ -760,6 +760,20 @@
     }
 
     /**
+     * Returns the image handle so that one can further try
+     * to manipulate the image
+     *
+     * @return resource
+     *
+     * @access public
+     */
+    function getHandle()
+    {
+        return PEAR::raiseError('getHandle() method not supported by driver',
+            IMAGE_TRANSFORM_ERROR_UNSUPPORTED);
+    }//function getHandle()
+
+    /**
      * Returns the type of the image being manipulated
      *
      * @return string the image type
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.