Lines Matching refs:attribs

1387     public function rename_attributes($attribs = '')
1389 if ($attribs === '') {
1390 $attribs = $this->rename_attributes;
1392 $this->sanitize->rename_attributes($attribs);
1395 public function strip_attributes($attribs = '')
1397 if ($attribs === '') {
1398 $attribs = $this->strip_attributes;
1400 $this->sanitize->strip_attributes($attribs);
1403 public function add_attributes($attribs = '')
1405 if ($attribs === '') {
1406 $attribs = $this->add_attributes;
1408 $this->sanitize->add_attributes($attribs);
2038 if (isset($this->data['child'][self::NAMESPACE_RSS_20]['rss'][0]['attribs']['']['version'])) {
2039 switch (trim($this->data['child'][self::NAMESPACE_RSS_20]['rss'][0]['attribs']['']['version'])) {
2134 * namespace and tag name. Each element has `attribs`, `data` and `child`
2135 * subkeys. For `attribs` and `child`, these contain namespace subkeys.
2136 * `attribs` then has one level of associative name => value data (where
2148 * $file = $content[0]['attribs']['']['url'];
2330 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2332 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2381 if (isset($category['attribs']['']['term'])) {
2382 $term = $this->sanitize($category['attribs']['']['term'], self::CONSTRUCT_TEXT);
2384 if (isset($category['attribs']['']['scheme'])) {
2385 $scheme = $this->sanitize($category['attribs']['']['scheme'], self::CONSTRUCT_TEXT);
2387 if (isset($category['attribs']['']['label'])) {
2388 $label = $this->sanitize($category['attribs']['']['label'], self::CONSTRUCT_TEXT);
2396 if (isset($category['attribs']['']['domain'])) {
2397 $scheme = $this->sanitize($category['attribs']['']['domain'], self::CONSTRUCT_TEXT);
2615 if (isset($link['attribs']['']['href'])) {
2616 $link_rel = (isset($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate';
2617 $this->data['links'][$link_rel][] = $this->sanitize($link['attribs']['']['href'], self::CONSTRUCT_IRI, $this->get_base($link));
2623 if (isset($link['attribs']['']['href'])) {
2624 $link_rel = (isset($link['attribs']['']['rel'])) ? $link['attribs']['']['rel'] : 'alternate';
2625 $this->data['links'][$link_rel][] = $this->sanitize($link['attribs']['']['href'], self::CONSTRUCT_IRI, $this->get_base($link));
2691 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2693 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2724 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2726 return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]));
2855 return $this->sanitize($return[0]['attribs']['']['href'], self::CONSTRUCT_IRI);