mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"allow to base links_stream_wrapper on a different parent then sqlfs_stream_wrapper, eg. the new versioning one"
This commit is contained in:
parent
901288dde9
commit
f0102eba3f
@ -7,10 +7,20 @@
|
||||
* @package api
|
||||
* @subpackage vfs
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2008-9 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2008-10 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @version $Id: class.sqlfs_stream_wrapper.inc.php 24997 2008-03-02 21:44:15Z ralfbecker $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Define parent for links_stream_wrapper, if not already defined
|
||||
*
|
||||
* Allows to base links_stream_wrapper on an other wrapper
|
||||
*/
|
||||
if (!class_exists('links_stream_wrapper_parent',false))
|
||||
{
|
||||
class links_stream_wrapper_parent extends sqlfs_stream_wrapper {}
|
||||
}
|
||||
|
||||
/**
|
||||
* eGroupWare API: stream wrapper for linked files
|
||||
*
|
||||
@ -30,7 +40,7 @@
|
||||
*
|
||||
* @link http://www.php.net/manual/en/function.stream-wrapper-register.php
|
||||
*/
|
||||
class links_stream_wrapper extends sqlfs_stream_wrapper
|
||||
class links_stream_wrapper extends links_stream_wrapper_parent
|
||||
{
|
||||
/**
|
||||
* Scheme / protocoll used for this stream-wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user