Author: ts
Date: Thu Sep 27 23:43:30 2007
New Revision: 6313
Log:
- Refactoring: Make ezcWebdavAutomaticPathFactory implement
ezcWebdavPathFactory instead of extending ezcWebdavBasePathFactory.
Modified:
trunk/Webdav/src/options/transport.php
trunk/Webdav/src/path_factories/automatic.php
Modified: trunk/Webdav/src/options/transport.php
==============================================================================
--- trunk/Webdav/src/options/transport.php [iso-8859-1] (original)
+++ trunk/Webdav/src/options/transport.php [iso-8859-1] Thu Sep 27 23:43:30 2007
@@ -52,7 +52,7 @@
switch ( $propertyName )
{
case 'pathFactory':
- if ( is_object( $propertyValue ) === false || ( $propertyValue
instanceof ezcWebdavBasicPathFactory ) === false )
+ if ( is_object( $propertyValue ) === false || ( $propertyValue
instanceof ezcWebdavPathFactory ) === false )
{
throw new ezcBaseValueException( $propertyName,
$propertyValue, 'ezcWebdavBasicPathFactory' );
}
Modified: trunk/Webdav/src/path_factories/automatic.php
==============================================================================
--- trunk/Webdav/src/path_factories/automatic.php [iso-8859-1] (original)
+++ trunk/Webdav/src/path_factories/automatic.php [iso-8859-1] Thu Sep 27
23:43:30 2007
@@ -22,7 +22,7 @@
* @version //autogentag//
* @package Webdav
*/
-class ezcWebdavAutomaticPathFactory extends ezcWebdavBasicPathFactory
+class ezcWebdavAutomaticPathFactory implements ezcWebdavPathFactory
{
/**
* Base path on the server.
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components