Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 19de341

Browse files
committed
New method appendMetaWrapper
1 parent 42685c3 commit 19de341

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/core/classes/class.AJXP_MetaStreamWrapper.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ public static function register($registered_wrappers = null){
5151
}
5252
}
5353

54+
public static function appendMetaWrapper($name, $className){
55+
self::$metaWrappers[$name] = $className;
56+
self::register();
57+
}
58+
5459
protected static function getNextScheme($url){
5560
$parts = parse_url($url);
5661
$metaWrapperKeys = array_keys(self::$metaWrappers);

0 commit comments

Comments
 (0)