Lines Matching defs:attr
11 public function open($attr, &$ahtml, &$ihtml)
153 $properties = $this->cssManager->MergeCSS('TOPTABLE', 'TABLE', $attr);
155 $properties = $this->cssManager->MergeCSS('TABLE', 'TABLE', $attr);
161 } elseif (!empty($attr['WIDTH'])) {
162 $w = $attr['WIDTH'];
165 if (isset($attr['ALIGN']) && array_key_exists(strtolower($attr['ALIGN']), self::ALIGN)) {
166 $table['a'] = $this->getAlign($attr['ALIGN']);
178 } elseif (!empty($attr['DIR'])) {
179 $table['direction'] = strtolower($attr['DIR']);
194 } elseif (isset($attr['BGCOLOR'])) {
198 $table['bgcolor'][-1] = $attr['BGCOLOR'];
445 if (isset($attr['CELLPADDING'])) {
446 $table['cell_padding'] = $attr['CELLPADDING'];
451 if (isset($attr['BORDER']) && $attr['BORDER'] == '1') {
492 if (isset($attr['AUTOSIZE']) && $this->mpdf->tableLevel == 1) {
493 $this->mpdf->shrink_this_table_to_fit = $attr['AUTOSIZE'];
498 if (isset($attr['ROTATE']) && $this->mpdf->tableLevel == 1) {
499 $this->mpdf->table_rotate = $attr['ROTATE'];