Author: Derick Rethans
Date: 2006-01-27 15:46:10 +0100 (Fri, 27 Jan 2006)
New Revision: 2068

Log:
- Get rid of PEAR autoload method.

Modified:
   packages/ImageConversion/trunk/src/converter.php

Modified: packages/ImageConversion/trunk/src/converter.php
===================================================================
--- packages/ImageConversion/trunk/src/converter.php    2006-01-27 14:20:24 UTC 
(rev 2067)
+++ packages/ImageConversion/trunk/src/converter.php    2006-01-27 14:46:10 UTC 
(rev 2068)
@@ -17,7 +17,7 @@
  *
  * A general example, how to use ezcImageConversion to convert images:
  * <code>
- * // ezc autoloading facility
+ * require_once "Base/trunk/src/base.php";
  * function __autoload( $class_name )
  * {
  *     ezcBase::autoload( $class_name );
@@ -71,19 +71,9 @@
  * You can implement a singleton pattern for this, which might look similar to
  * the following example:
  * <code>
+ * require_once "Base/trunk/src/base.php";
  * function __autoload( $class_name )
  * {
- *     require_once("Base/trunk/src/base.php");
- *     if ( strpos( $class_name, "_" ) !== false )
- *     {
- *         $file = str_replace( "_", "/", $class_name ) . ".php";
- *         $val = require_once( $file );
- *         if ( $val == 0 )
- *         {
- *             return true;
- *         }
- *         return false;
- *     }
  *     ezcBase::autoload( $class_name );
  * }
  * 

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to