Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DFormFeed.php12 if (isset($attr['SHEET-SIZE'])) {
64 …if (isset($attr['ODD-HEADER-VALUE']) && ($attr['ODD-HEADER-VALUE'] == '1' || strtoupper($attr['ODD…
66 …} elseif (isset($attr['ODD-HEADER-VALUE']) && ($attr['ODD-HEADER-VALUE'] == '-1' || strtoupper($at…
69 …if (isset($attr['EVEN-HEADER-VALUE']) && ($attr['EVEN-HEADER-VALUE'] == '1' || strtoupper($attr['E…
71 …} elseif (isset($attr['EVEN-HEADER-VALUE']) && ($attr['EVEN-HEADER-VALUE'] == '-1' || strtoupper($
74 …if (isset($attr['ODD-FOOTER-VALUE']) && ($attr['ODD-FOOTER-VALUE'] == '1' || strtoupper($attr['ODD…
76 …} elseif (isset($attr['ODD-FOOTER-VALUE']) && ($attr['ODD-FOOTER-VALUE'] == '-1' || strtoupper($at…
79 …if (isset($attr['EVEN-FOOTER-VALUE']) && ($attr['EVEN-FOOTER-VALUE'] == '1' || strtoupper($attr['E…
81 …} elseif (isset($attr['EVEN-FOOTER-VALUE']) && ($attr['EVEN-FOOTER-VALUE'] == '-1' || strtoupper($
85 …if (isset($attr['ORIENTATION']) && (strtoupper($attr['ORIENTATION']) === 'L' || strtoupper($attr['…
[all …]
H A DAnnotation.php11 if (isset($attr['CONTENT'])) {
29 if (isset($attr['POS-X'])) {
34 if (isset($attr['POS-Y'])) {
39 if (isset($attr['ICON'])) {
40 $objattr['ICON'] = $attr['ICON'];
44 if (isset($attr['AUTHOR'])) {
51 if (isset($attr['FILE'])) {
56 if (isset($attr['SUBJECT'])) {
61 if (isset($attr['OPACITY']) && $attr['OPACITY'] > 0 && $attr['OPACITY'] <= 1) {
68 if (isset($attr['COLOR'])) {
[all …]
H A DPageFooter.php10 public function open($attr, &$ahtml, &$ihtml) argument
15 if ($attr['NAME']) {
16 $pname = $attr['NAME'];
27 if (isset($attr['CONTENT-LEFT'])) {
30 if (isset($attr['CONTENT-CENTER'])) {
33 if (isset($attr['CONTENT-RIGHT'])) {
37 …if (isset($attr['HEADER-STYLE']) || isset($attr['FOOTER-STYLE'])) { // font-family,size,weight,sty…
69 if (isset($attr['HEADER-STYLE-LEFT']) || isset($attr['FOOTER-STYLE-LEFT'])) {
91 if (isset($attr['HEADER-STYLE-CENTER']) || isset($attr['FOOTER-STYLE-CENTER'])) {
113 if (isset($attr['HEADER-STYLE-RIGHT']) || isset($attr['FOOTER-STYLE-RIGHT'])) {
[all …]
H A DInput.php15 if (!isset($attr['TYPE'])) {
16 $attr['TYPE'] = 'TEXT';
30 if (isset($attr['DISABLED'])) {
39 if (isset($attr['SPELLCHECK']) && strtolower($attr['SPELLCHECK']) === 'true') {
42 if (isset($attr['TITLE'])) {
57 if (isset($attr['VALUE'])) {
58 $attr['VALUE'] = UtfString::strcode2utf($attr['VALUE']);
59 $attr['VALUE'] = $this->mpdf->lesser_entity_decode($attr['VALUE']);
61 $attr['VALUE'] = mb_convert_encoding($attr['VALUE'], $this->mpdf->mb_enc, 'UTF-8');
374 if (isset($attr['SIZE']) && ctype_digit($attr['SIZE'])) {
[all …]
H A DTextArea.php23 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'])) {
42 if (isset($attr['NAME'])) {
52 if (isset($attr['ONVALIDATE'])) {
58 if (isset($attr['ONFORMAT'])) {
118 if (isset($attr['COLS'])) {
119 $colsize = (int) $attr['COLS'];
[all …]
H A DIndexInsert.php8 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);
H A DSetHtmlPageFooter.php8 public function open($attr, &$ahtml, &$ihtml) argument
14 if (!empty($attr['NAME'])) {
15 $pname = $attr['NAME'];
20 if (!empty($attr['PAGE'])) { // O|odd|even|E|ALL|[blank]
22 if (strtoupper($attr['PAGE']) === 'O' || strtoupper($attr['PAGE']) === 'ODD') {
24 } elseif (strtoupper($attr['PAGE']) === 'E' || strtoupper($attr['PAGE']) === 'EVEN') {
26 } elseif (strtoupper($attr['PAGE']) === 'ALL') {
32 if (!empty($attr['VALUE'])) { // -1|1|on|off
34 if ($attr['VALUE'] == '1' || strtoupper($attr['VALUE']) === 'ON') {
36 } elseif ($attr['VALUE'] == '-1' || strtoupper($attr['VALUE']) === 'OFF') {
[all …]
H A DSelect.php10 public function open($attr, &$ahtml, &$ihtml) argument
22 if (isset($attr['SPELLCHECK']) && strtolower($attr['SPELLCHECK']) === 'true') {
30 if (isset($attr['DISABLED'])) {
33 if (isset($attr['READONLY'])) {
36 if (isset($attr['REQUIRED'])) {
39 if (isset($attr['EDITABLE'])) {
42 if (isset($attr['TITLE'])) {
45 if (isset($attr['MULTIPLE'])) {
48 if (isset($attr['SIZE']) && $attr['SIZE'] > 1) {
52 if (isset($attr['NAME'])) {
[all …]
H A DWatermarkImage.php8 public function open($attr, &$ahtml, &$ihtml) argument
11 if (isset($attr['SRC'])) {
12 $src = $attr['SRC'];
16 if (isset($attr['ALPHA']) && $attr['ALPHA'] > 0) {
17 $alpha = $attr['ALPHA'];
21 if (!empty($attr['SIZE'])) {
22 $size = $attr['SIZE'];
29 if (!empty($attr['POSITION'])) { // mPDF 5.7.2
30 $pos = $attr['POSITION'];
H A DA.php8 public function open($attr, &$ahtml, &$ihtml) argument
10 if (isset($attr['NAME']) && $attr['NAME'] != '') {
15 $objattr['CONTENT'] = htmlspecialchars_decode($attr['NAME'], ENT_QUOTES);
17 if (!empty($attr['LEVEL'])) {
18 $objattr['bklevel'] = $attr['LEVEL'];
26 $this->mpdf->_saveCellTextBuffer($e, '', $attr['NAME']); // *TABLES*
29 …$this->mpdf->_saveTextBuffer($e, '', $attr['NAME']); //an internal link (adds a space for recognit…
32 if (isset($attr['HREF'])) {
34 $properties = $this->cssManager->MergeCSS('INLINE', 'A', $attr);
38 $this->mpdf->HREF = $attr['HREF']; // mPDF 5.7.4 URLs
H A DColumns.php32 public function open($attr, &$ahtml, &$ihtml) argument
34 if (isset($attr['COLUMN-COUNT']) && ($attr['COLUMN-COUNT'] || $attr['COLUMN-COUNT'] === '0')) {
46 if (!empty($attr['VALIGN'])) {
47 if ($attr['VALIGN'] === 'J') {
50 $valign = $this->getAlign($attr['VALIGN']);
55 if (!empty($attr['COLUMN-GAP'])) {
56 $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign, $attr['COLUMN-GAP']);
58 $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign);
H A DHr.php10 public function open($attr, &$ahtml, &$ihtml) argument
14 if (isset($attr['STYLE'])) {
15 $properties = $this->cssManager->readInlineCSS($attr['STYLE']);
34 $properties = $this->cssManager->MergeCSS('', 'HR', $attr);
53 } elseif (isset($attr['WIDTH']) && $attr['WIDTH'] != '') {
58 } elseif (isset($attr['ALIGN']) && $attr['ALIGN'] != '') {
59 $objattr['align'] = $this->getAlign($attr['ALIGN']);
74 } elseif (isset($attr['COLOR']) && $attr['COLOR'] != '') {
94 if (isset($attr['WIDTH']) && NumericString::containsPercentChar($attr['WIDTH'])) {
95 …$attr['WIDTH'] = NumericString::removePercentChar($attr['WIDTH']); // make "90%" become simply "90"
[all …]
H A DOption.php10 public function open($attr, &$ahtml, &$ihtml) argument
19 if (isset($attr['SELECTED'])) {
23 if (isset($attr['VALUE'])) {
24 $attr['VALUE'] = UtfString::strcode2utf($attr['VALUE']);
25 $attr['VALUE'] = $this->mpdf->lesser_entity_decode($attr['VALUE']);
27 $attr['VALUE'] = mb_convert_encoding($attr['VALUE'], $this->mpdf->mb_enc, 'UTF-8');
30 $this->mpdf->selectoption['currentVAL'] = $attr['VALUE'];
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DTableOfContents.php601 if (isset($attr['OUTDENT']) && $attr['OUTDENT']) {
616 if (isset($attr['SUPPRESS']) && $attr['SUPPRESS']) {
631 if (isset($attr['LINKS']) && (strtoupper($attr['LINKS']) == 'ON' || $attr['LINKS'] == 1)) {
636 if (isset($attr['NAME']) && $attr['NAME']) {
646 if (isset($attr['NAME']) && $attr['NAME']) {
652 if (isset($attr['OUTDENT']) && $attr['OUTDENT']) {
667 if (isset($attr['LINKS']) && (strtoupper($attr['LINKS']) == 'ON' || $attr['LINKS'] == 1)) {
736 if (isset($attr['TOC-SUPPRESS']) && ($attr['TOC-SUPPRESS'] || $attr['TOC-SUPPRESS'] === '0')) {
764 if (isset($attr['OUTDENT']) && $attr['OUTDENT']) {
779 if (isset($attr['LINKS']) && (strtoupper($attr['LINKS']) == 'ON' || $attr['LINKS'] == 1)) {
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.archive.tar.php59 $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']) : '');
68 $magic = (isset($attr['magic'] ) ? trim($attr['magic'] ) : '');
[all …]
/plugin/syntaxhighlighter4/
H A Dsyntax.php91 $attr = trim($attr);
92 if ($attr == null) {
94 $attr = 'text';
97 $attr = 'text'.$attr;
100 $attr = null;
127 $title = $this->procTitle($attr);
137 private function procTitle($attr) { argument
139 $title = trim(substr($attr, strpos($attr, ' ') + 1));
145 $attr_array = explode(';', $attr);
158 private function procHighlight($attr) { argument
[all …]
/plugin/wrap/
H A Dhelper.php33 $attr = array();
84 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').$prefix.$token;
87 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').'wrap__dark';
90 $attr['class'] = (isset($attr['class']) ? $attr['class'].' ' : '').'wrap__emuhead';
94 if($attr['lang']) {
98 $attr['dir'] = strtr($attr['lang'],$lang2dir);
102 return $attr;
114 if($attr['class']) $out .= ' class="'.hsc($attr['class']).' '.$addClass.'"';
117 if($attr['id']) $out .= ' id="'.hsc($attr['id']).'"';
128 …if($attr['dir']) $out .= ' lang="'.$attr['lang'].'" xml:lang="'.$attr['lang'].'" dir="'.$attr['d…
[all …]
/plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Record/
H A DAbstractRecord.php22 * @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) &&
47 private function attributeToKey($attr) argument
52 private function validAttribute($attr) argument
[all …]
/plugin/syntaxhighlighter3/syntax/
H A Dsyntax.php65 $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)) {
96 $attr_array = explode(";", $attr);
[all …]
/plugin/exttab3/
H A Dsyntax.php92 $data = array($state, $tag, $attr);
150 private function appendClass($class, $attr) argument
153 preg_match($regex, $attr, $matches);
156 return $attr;
159 return $attr.' class="'.$class.'"';
185 $attr = $this->appendClass('exttable', $attr);
311 list($state, $tag, $attr) = $data;
339 $attr = $this->cleanAttrString($attr, $this->attrsmap);
423 if (is_null($attr)) return null;
426 $attr = trim(preg_replace('/\s+/', ' ', $attr));
[all …]
/plugin/syntaxhighlightjs/
H A Dhelper.php22 $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/farmer/action/
H A Dajax.php186 $attr = buildAttributes($attrs);
188 return "<$td $attr>$lbl</$td>";
217 $attr = array();
218 $attr['type'] = 'radio';
220 $attr['value'] = '-1';
235 $attr = array();
236 $attr['type'] = 'radio';
238 $attr['value'] = '1';
249 $attr = array();
250 $attr['type'] = 'radio';
[all …]
/plugin/quickstats/GEOIP/vendor/geoip2/geoip2/src/Model/
H A DAbstractModel.php42 * @param mixed $attr
44 public function __get($attr) argument
46 if ($attr !== 'instance' && property_exists($this, $attr)) {
47 return $this->$attr;
50 throw new \RuntimeException("Unknown attribute: $attr");
56 * @param mixed $attr
58 public function __isset($attr) argument
60 return $attr !== 'instance' && isset($this->$attr);
/plugin/struct/_test/
H A DType_Media.test.php77 $this->assertContains('w=150', $img->attr('src')); // fetch param
78 $this->assertEquals(150, $img->attr('width')); // img param
79 $this->assertContains('h=160', $img->attr('src')); // fetch param
80 $this->assertEquals(160, $img->attr('height')); // img param
96 $this->assertContains('w=180', $img->attr('src')); // fetch param
97 $this->assertEquals(180, $img->attr('width')); // img param
98 $this->assertContains('h=190', $img->attr('src')); // fetch param
99 $this->assertEquals(190, $img->attr('height')); // img param
114 $this->assertEquals('', $a->attr('rel')); // no lightbox
136 $this->assertEquals(150, $vid->attr('width')); // video param
[all …]
/plugin/farmer/admin/
H A Dplugins.php64 …oButton('bulkSingleSwitch', $this->getLang('bulkEdit'))->id('farmer__bulk')->attr('type', 'radio');
65 …ton('bulkSingleSwitch', $this->getLang('singleEdit'))->id('farmer__single')->attr('type', 'radio');
66 …ton('bulkSingleSwitch', $this->getLang('matrixEdit'))->id('farmer__matrix')->attr('type', 'radio');
80 …orm->addButton('state', $this->getLang('default'))->attr('value', '-1')->attr('type', 'submit')->a…
81 …rm->addButton('state', $this->getLang('activate'))->attr('value', '1')->attr('type', 'submit')->at…
82 …->addButton('state', $this->getLang('deactivate'))->attr('value', '0')->attr('type', 'submit')->at…
96 $singleForm->addButton('save', $this->getLang('save'))->attr('disabled', 'disabled');

12345678910>>...25