| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
| D | FormFeed.php | 9 public function open($attr, &$ahtml, &$ihtml) argument 12 if (isset($attr['SHEET-SIZE'])) { 14 $prop = preg_split('/\s+/', trim($attr['SHEET-SIZE'])); 18 $newformat = $attr['SHEET-SIZE']; 32 if (isset($attr['MARGIN-RIGHT'])) { 33 …$mgr = $this->sizeConverter->convert($attr['MARGIN-RIGHT'], $this->mpdf->w, $this->mpdf->FontSize,… 35 if (isset($attr['MARGIN-LEFT'])) { 36 …$mgl = $this->sizeConverter->convert($attr['MARGIN-LEFT'], $this->mpdf->w, $this->mpdf->FontSize, … 38 if (isset($attr['MARGIN-TOP'])) { 39 …$mgt = $this->sizeConverter->convert($attr['MARGIN-TOP'], $this->mpdf->w, $this->mpdf->FontSize, f… [all …]
|
| D | Annotation.php | 8 public function open($attr, &$ahtml, &$ihtml) argument 11 if (isset($attr['CONTENT'])) { 23 $objattr['CONTENT'] = htmlspecialchars_decode($attr['CONTENT'], ENT_QUOTES); 29 if (isset($attr['POS-X'])) { 30 $objattr['POS-X'] = $attr['POS-X']; 34 if (isset($attr['POS-Y'])) { 35 $objattr['POS-Y'] = $attr['POS-Y']; 39 if (isset($attr['ICON'])) { 40 $objattr['ICON'] = $attr['ICON']; 44 if (isset($attr['AUTHOR'])) { [all …]
|
| D | PageFooter.php | 10 public function open($attr, &$ahtml, &$ihtml) argument 15 if ($attr['NAME']) { 16 $pname = $attr['NAME']; 27 if (isset($attr['CONTENT-LEFT'])) { 28 $p['L']['content'] = $attr['CONTENT-LEFT']; 30 if (isset($attr['CONTENT-CENTER'])) { 31 $p['C']['content'] = $attr['CONTENT-CENTER']; 33 if (isset($attr['CONTENT-RIGHT'])) { 34 $p['R']['content'] = $attr['CONTENT-RIGHT']; 37 …if (isset($attr['HEADER-STYLE']) || isset($attr['FOOTER-STYLE'])) { // font-family,size,weight,sty… [all …]
|
| D | Input.php | 11 public function open($attr, &$ahtml, &$ihtml) argument 15 if (!isset($attr['TYPE'])) { 16 $attr['TYPE'] = 'TEXT'; 30 if (isset($attr['DISABLED'])) { 33 if (isset($attr['READONLY'])) { 36 if (isset($attr['REQUIRED'])) { 39 if (isset($attr['SPELLCHECK']) && strtolower($attr['SPELLCHECK']) === 'true') { 42 if (isset($attr['TITLE'])) { 43 $objattr['title'] = $attr['TITLE']; 44 } elseif (isset($attr['ALT'])) { [all …]
|
| D | TextArea.php | 10 public function open($attr, &$ahtml, &$ihtml) argument 23 if (isset($attr['DISABLED'])) { 26 if (isset($attr['READONLY'])) { 29 if (isset($attr['REQUIRED'])) { 32 if (isset($attr['SPELLCHECK']) && strtolower($attr['SPELLCHECK']) === 'true') { 35 if (isset($attr['TITLE'])) { 36 $objattr['title'] = $attr['TITLE']; 42 if (isset($attr['NAME'])) { 43 $objattr['fieldname'] = $attr['NAME']; 47 if (isset($attr['ONCALCULATE'])) { [all …]
|
| D | IndexInsert.php | 8 public function open($attr, &$ahtml, &$ihtml) argument 11 if (isset($attr['COLLATION'])) { 12 $indexCollationLocale = $attr['COLLATION']; 16 if (isset($attr['COLLATION-GROUP'])) { 17 $indexCollationGroup = $attr['COLLATION-GROUP']; 21 if (isset($attr['USEDIVLETTERS']) && (strtoupper($attr['USEDIVLETTERS']) === 'OFF' 22 || $attr['USEDIVLETTERS'] == -1 23 || $attr['USEDIVLETTERS'] === '0')) { 26 $links = isset($attr['LINKS']) && (strtoupper($attr['LINKS']) === 'ON' || $attr['LINKS'] == 1);
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
| D | TableOfContents.php | 599 public function openTagTOC($attr) argument 601 if (isset($attr['OUTDENT']) && $attr['OUTDENT']) { 602 $tocoutdent = $attr['OUTDENT']; 606 if (isset($attr['RESETPAGENUM']) && $attr['RESETPAGENUM']) { 607 $resetpagenum = $attr['RESETPAGENUM']; 611 if (isset($attr['PAGENUMSTYLE']) && $attr['PAGENUMSTYLE']) { 612 $pagenumstyle = $attr['PAGENUMSTYLE']; 616 if (isset($attr['SUPPRESS']) && $attr['SUPPRESS']) { 617 $suppress = $attr['SUPPRESS']; 621 if (isset($attr['TOC-ORIENTATION']) && $attr['TOC-ORIENTATION']) { [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/ |
| D | Font.php | 59 $attr = $tag->attr; 63 if (isset($attr['color'])) { 64 $prepend_style .= 'color:' . $attr['color'] . ';'; 65 unset($attr['color']); 69 if (isset($attr['face'])) { 70 $prepend_style .= 'font-family:' . $attr['face'] . ';'; 71 unset($attr['face']); 75 if (isset($attr['size'])) { 77 if ($attr['size'] !== '') { 78 if ($attr['size'][0] == '+' || $attr['size'][0] == '-') { [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/ |
| D | Legacy.php | 98 $br->attr['clear'] = 'Enum#left,all,right,none'; 101 $caption->attr['align'] = 'Enum#top,bottom,left,right'; 104 $div->attr['align'] = $align; 107 $dl->attr['compact'] = 'Bool#compact'; 111 $h->attr['align'] = $align; 115 $hr->attr['align'] = $align; 116 $hr->attr['noshade'] = 'Bool#noshade'; 117 $hr->attr['size'] = 'Pixels'; 118 $hr->attr['width'] = 'Length'; 121 $img->attr['align'] = 'IAlign'; [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ |
| D | ImgSpace.php | 11 protected $attr; variable in HTMLPurifier_AttrTransform_ImgSpace 22 * @param string $attr 24 public function __construct($attr) argument 26 $this->attr = $attr; 27 if (!isset($this->css[$attr])) { 28 trigger_error(htmlspecialchars($attr) . ' is not valid space attribute'); 33 * @param array $attr 38 public function transform($attr, $config, $context) argument 40 if (!isset($attr[$this->attr])) { 41 return $attr; [all …]
|
| D | Input.php | 20 * @param array $attr 25 public function transform($attr, $config, $context) argument 27 if (!isset($attr['type'])) { 30 $t = strtolower($attr['type']); 32 if (isset($attr['checked']) && $t !== 'radio' && $t !== 'checkbox') { 33 unset($attr['checked']); 35 if (isset($attr['maxlength']) && $t !== 'text' && $t !== 'password') { 36 unset($attr['maxlength']); 38 if (isset($attr['size']) && $t !== 'text' && $t !== 'password') { 39 $result = $this->pixels->validate($attr['size'], $config, $context); [all …]
|
| D | EnumToCSS.php | 13 protected $attr; variable in HTMLPurifier_AttrTransform_EnumToCSS 30 * @param string $attr Attribute name to transform from 34 public function __construct($attr, $enum_to_css, $case_sensitive = false) argument 36 $this->attr = $attr; 42 * @param array $attr 47 public function transform($attr, $config, $context) argument 49 if (!isset($attr[$this->attr])) { 50 return $attr; 53 $value = trim($attr[$this->attr]); 54 unset($attr[$this->attr]); [all …]
|
| D | SafeParam.php | 39 * @param array $attr 44 public function transform($attr, $config, $context) argument 48 switch ($attr['name']) { 52 $attr['value'] = 'never'; 55 $attr['value'] = 'internal'; 59 $attr['value'] = ($attr['value'] == 'true') ? 'true' : 'false'; 61 $attr['value'] = 'false'; 65 $attr['value'] = $this->wmode->validate($attr['value'], $config, $context); 69 $attr['name'] = "movie"; 70 $attr['value'] = $this->uri->validate($attr['value'], $config, $context); [all …]
|
| D | BoolToCSS.php | 12 protected $attr; variable in HTMLPurifier_AttrTransform_BoolToCSS 21 * @param string $attr attribute name to convert from 24 public function __construct($attr, $css) argument 26 $this->attr = $attr; 31 * @param array $attr 36 public function transform($attr, $config, $context) argument 38 if (!isset($attr[$this->attr])) { 39 return $attr; 41 unset($attr[$this->attr]); 42 $this->prependCSS($attr, $this->css); [all …]
|
| /plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
| D | module.archive.tar.php | 58 $attr = unpack($unpack_header, $buffer); 59 $name = (isset($attr['fname'] ) ? trim($attr['fname'] ) : ''); 60 $mode = octdec(isset($attr['mode'] ) ? trim($attr['mode'] ) : ''); 61 $uid = octdec(isset($attr['uid'] ) ? trim($attr['uid'] ) : ''); 62 $gid = octdec(isset($attr['gid'] ) ? trim($attr['gid'] ) : ''); 63 $size = octdec(isset($attr['size'] ) ? trim($attr['size'] ) : ''); 64 $mtime = octdec(isset($attr['mtime'] ) ? trim($attr['mtime'] ) : ''); 65 $chksum = octdec(isset($attr['chksum'] ) ? trim($attr['chksum'] ) : ''); 66 $typflag = (isset($attr['typflag']) ? trim($attr['typflag']) : ''); 67 $lnkname = (isset($attr['lnkname']) ? trim($attr['lnkname']) : ''); [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ |
| D | AttrValidator.php | 47 $attr = $token->attr; 52 $attr = $transform->transform($o = $attr, $config, $context); 54 if ($attr != $o) { 55 $e->send(E_NOTICE, 'AttrValidator: Attributes transformed', $o, $attr); 63 $attr = $transform->transform($o = $attr, $config, $context); 65 if ($attr != $o) { 66 $e->send(E_NOTICE, 'AttrValidator: Attributes transformed', $o, $attr); 74 $defs = $definition->info[$token->name]->attr; 81 foreach ($attr as $attr_key => $value) { 123 unset($attr[$attr_key]); [all …]
|
| D | AttrCollections.php | 36 foreach ($coll as $attr_i => $attr) { 41 $attr 45 $this->info[$coll_i][$attr_i] = $attr; 50 foreach ($this->info as $name => $attr) { 63 public function performInclusions(&$attr) argument 65 if (!isset($attr[0])) { 68 $merge = $attr[0]; 81 if (isset($attr[$key])) { 84 $attr[$key] = $value; 91 unset($attr[0]); [all …]
|
| D | AttrTransform.php | 23 * @param array $attr Assoc array of attributes, usually from 29 abstract public function transform($attr, $config, $context); argument 37 public function prependCSS(&$attr, $css) argument 39 $attr['style'] = isset($attr['style']) ? $attr['style'] : ''; 40 $attr['style'] = $css . $attr['style']; 49 public function confiscateAttr(&$attr, $key) argument 51 if (!isset($attr[$key])) { 54 $value = $attr[$key]; 55 unset($attr[$key]);
|
| D | HTMLDefinition.php | 121 $element->attr[$attr_name] = $def; 322 foreach ($this->info_global_attr as $attr => $x) { 323 $keys = array($attr, "*@$attr", "*.$attr"); 334 unset($this->info_global_attr[$attr]); 339 foreach ($info->attr as $attr => $x) { 340 $keys = array("$tag@$attr", $attr, "*@$attr", "$tag.$attr", "*.$attr"); 351 if ($this->info[$tag]->attr[$attr]->required) { 353 "Required attribute '$attr' in element '$tag' " . 358 unset($this->info[$tag]->attr[$attr]); 407 foreach ($info->attr as $attr => $x) { [all …]
|
| /plugin/syntaxhighlighter4/ |
| D | syntax.php | 89 list($attr, $content) = preg_split('/>/u', $match, 2); 91 $attr = trim($attr); 92 if ($attr == null) { 94 $attr = 'text'; 95 } elseif (substr($attr, 0, 1) == ';') { 97 $attr = 'text'.$attr; 100 $attr = null; 102 return array($this->syntax, $attr, $content); 125 list($this->syntax, $attr, $content) = $data; 127 $title = $this->procTitle($attr); [all …]
|
| /plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Record/ |
| D | AbstractRecord.php | 22 * @param mixed $attr 24 public function __get($attr) argument 27 $key = $this->attributeToKey($attr); 29 if ($this->__isset($attr)) { 31 } elseif ($this->validAttribute($attr)) { 38 throw new \RuntimeException("Unknown attribute: $attr"); 41 public function __isset($attr) argument 43 return $this->validAttribute($attr) && 44 isset($this->record[$this->attributeToKey($attr)]); 47 private function attributeToKey($attr) argument [all …]
|
| /plugin/syntaxhighlighter3/syntax/ |
| D | syntax.php | 62 list($attr, $content) = preg_split('/>/u', $match, 2); 65 $attr = trim($attr); 66 if ($attr == null) { 68 $attr = 'text'; 69 } elseif (substr($attr, 0, 1) == ";") { 71 $attr = 'text' . $attr; 74 $attr = null; 77 return array($this->syntax, $attr, $content); 89 list($syntax, $attr, $content) = $data; 94 if (preg_match("/title:/i", $attr)) { [all …]
|
| /plugin/wrap/ |
| D | helper.php | 39 $attr = array( 70 $attr['width'] = $token; 76 $attr['lang'] = trim($token,':'); 82 $attr['id'] = trim($token,'#'); 96 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').$prefix.$token; 99 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').'wrap__dark'; 102 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').'wrap__emuhead'; 106 if($attr['lang'] && $attr['lang'] !== '') { 109 $arr = explode('-', $attr['lang']); 117 $attr['dir'] = ( $rtl ? 'rtl' : 'ltr' ); [all …]
|
| /plugin/syntaxhighlightjs/ |
| D | helper.php | 22 $attr = array(); 35 $attr['width'] = $token; 47 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').$token; 50 return $attr; 58 $attr = $this->getAttributes($data); 62 if($attr['class']) $out .= ' class="'.hsc($attr['class']).' '.$addClass.'"'; 66 if($attr['width']) { 67 if (strpos($attr['width'],'%') !== false) { 68 $out .= ' style="width: '.hsc($attr['width']).';"'; 71 $out .= ' style="width: '.hsc($attr['width']).'; max-width: 100%;"';
|
| /plugin/exttab3/ |
| D | syntax.php | 90 protected function writeCall($tag, $attr, $state, $pos, $match, $handler) argument 92 $data = array($state, $tag, $attr); 96 protected function open($tag, $attr, $pos, $match, $handler) argument 99 $match = array(DOKU_LEXER_ENTER, $tag, $attr); 106 $match = array(DOKU_LEXER_EXIT, $tag, $attr); 147 * @param string $attr attributes of html tag 150 private function appendClass($class, $attr) argument 153 preg_match($regex, $attr, $matches); 156 return $attr; 159 return $attr.' class="'.$class.'"'; [all …]
|