Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 10 of 10) sorted by path

/dokuwiki/inc/
H A DFeedParser.php19 $this->registry->register(File::class, FeedParserFile::class);
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md203 * Update the registry if the Sanitize class has been changed. [#532](https://github.com/simplepie/simplepie/pull/532)
/dokuwiki/vendor/simplepie/simplepie/src/
H A DItem.php82 protected $registry; variable in SimplePie\\Item
100 * Set the registry handler
105 * @param \SimplePie\Registry $registry
107 public function set_registry(\SimplePie\Registry $registry)/* : void */ argument
109 $this->registry = $registry;
258 $this->data['title'] = $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
260 $this->data['title'] = $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
296 ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) {
299 ($return = $this->sanitize($tags[0]['data'], $this->registry
[all...]
H A DLocator.php72 protected $registry; variable in SimplePie\\Locator
98 public function set_registry(\SimplePie\Registry $registry)/* : void */ argument
100 $this->registry = $registry;
110 $sniffer = $this->registry->create(Content\Type\Sniffer::class, [$this->file]);
147 $sniffer = $this->registry->create(Content\Type\Sniffer::class, [$file]);
174 $base = $this->registry->call(Misc::class, 'absolutize_url', [trim($element->getAttribute('href')), $this->http_base]);
212 $rel = array_unique($this->registry->call(Misc::class, 'space_separated_tokens', [strtolower($link->getAttribute('rel'))]));
216 $href = $this->registry->call(Misc::class, 'absolutize_url', [trim($link->getAttribute('href')), $this->base]);
218 $href = $this->registry
[all...]
H A DMisc.php1958 * @param \SimplePie\Registry $registry Class registry
1961 public static function xml_encoding($data, $registry) argument
1986 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', 'UTF-8')]);
1996 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32LE', 'UTF-8')]);
2006 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16BE', 'UTF-8')]);
2016 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16LE', 'UTF-8')]);
2026 $parser = $registry->create(Parser::class, [substr($data, 5, $pos - 5)]);
H A DParser.php76 protected $registry; variable in SimplePie\\Parser
78 public function set_registry(\SimplePie\Registry $registry)/* : void */ argument
80 $this->registry = $registry;
129 $declaration = $this->registry->create(DeclarationParser::class, [substr($data, 5, $pos - 5)]);
278 $base = $this->registry->call(Misc::class, 'absolutize_url', [$attribs[\SimplePie\SimplePie::NAMESPACE_XML]['base'], end($this->xml_base)]);
H A DRegistryAware.php60 * @param Registry $registry
64 public function set_registry(Registry $registry)/* : void */; argument
H A DSanitize.php91 public $registry; variable in SimplePie\\Sanitize
131 public function set_registry(\SimplePie\Registry $registry)/* : void */ argument
133 $this->registry = $registry;
428 $file = $this->registry->create(File::class, [$img->getAttribute('src'), $this->timeout, 5, ['X-FORWARDED-FOR' => $_SERVER['REMOTE_ADDR']], $this->useragent, $this->force_fsockopen]);
459 $absolute = $this->registry->call(Misc::class, 'absolutize_url', [$data, $base]);
470 $data = $this->registry->call(Misc::class, 'change_encoding', [$data, 'UTF-8', $this->output_encoding]);
508 $value = $this->registry->call(Misc::class, 'absolutize_url', [$element->getAttribute($attribute), $this->base]);
644 $cache = $this->registry->call(Cache::class, 'get_handler', [
H A DSimplePie.php583 * Class registry object
587 public $registry; variable in SimplePie\\SimplePie
704 $this->registry = new \SimplePie\Registry();
787 $this->multifeed_url[] = $this->registry->call(Misc::class, 'fix_protocol', [$value, 1]);
790 $this->feed_url = $this->registry->call(Misc::class, 'fix_protocol', [$url, 1]);
1022 * Get the class registry
1031 return $this->registry;
1047 return $this->registry->register(Cache::class, $class, true);
1063 return $this->registry->register(Locator::class, $class, true);
1079 return $this->registry
[all...]
H A DSource.php62 protected $registry; variable in SimplePie\\Source
70 public function set_registry(\SimplePie\Registry $registry)/* : void */ argument
72 $this->registry = $registry;
107 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
109 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
152 $categories[] = $this->registry->create(Category::class, [$term, $scheme, $label]);
163 $categories[] = $this->registry->create(Category::class, [$term, $scheme, null]);
166 $categories[] = $this->registry->create(Category::class, [$this->sanitize($category['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT), null, null]);
169 $categories[] = $this->registry
[all...]