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

Commit

Permalink
New method appendMetaWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 22, 2015
1 parent 42685c3 commit 19de341
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/core/classes/class.AJXP_MetaStreamWrapper.php
Expand Up @@ -51,6 +51,11 @@ public static function register($registered_wrappers = null){
}
}

public static function appendMetaWrapper($name, $className){
self::$metaWrappers[$name] = $className;
self::register();
}

protected static function getNextScheme($url){
$parts = parse_url($url);
$metaWrapperKeys = array_keys(self::$metaWrappers);
Expand Down

0 comments on commit 19de341

Please sign in to comment.