Lines Matching defs:attr

132 	public $attr = array();
168 if ($show_attr && count($this->attr) > 0) {
170 foreach ($this->attr as $k => $v) {
189 if (count($this->attr) > 0) {
191 foreach ($this->attr as $k => $v) {
478 foreach ($this->attr as $key => $val) {
486 //no value attr: nowrap, checked selected...
632 if ($pass && $id !== '' && !isset($node->attr['id'])) {
637 if ($pass && $id !== '' && isset($node->attr['id'])) {
639 $node_id = explode(' ', trim($node->attr['id']))[0];
646 if (isset($node->attr['class'])) {
647 $node_classes = explode(' ', $node->attr['class']);
705 if (isset($node->attr[$att_name])) {
712 && !isset($node->attr[$att_name])) {
727 $nodeKeyValue = $node->attr[$att_name];
839 * <tag attr:ibute="something" > like google does.
971 if (isset($this->attr[$name])) {
972 return $this->convert_text($this->attr[$name]);
979 default: return array_key_exists($name, $this->attr);
997 if (!isset($this->attr[$name])) {
1002 $this->attr[$name] = $value;
1012 //no value attr: nowrap, checked selected...
1013 return (array_key_exists($name, $this->attr)) ? true : isset($this->attr[$name]);
1018 if (isset($this->attr[$name])) { unset($this->attr[$name]); }
1110 if (isset($this->attr['width'])) {
1111 $width = $this->attr['width'];
1114 if (isset($this->attr['height'])) {
1115 $height = $this->attr['height'];
1119 if (isset($this->attr['style'])) {
1125 $this->attr['style'],
1261 return $this->attr;
1399 public $stripRNAttrValues = true; // added option to ignore RN in attr values - nomadjimbob
2019 $node->attr = array();
2044 //no value attr: nowrap, checked selected...
2046 $node->attr[$name] = true;
2091 $is_duplicate = isset($node->attr[$name]);
2133 $node->attr[$name] = $value;