Lines Matching defs:attr

135 	public $attr = array();
171 if ($show_attr && count($this->attr) > 0) {
173 foreach ($this->attr as $k => $v) {
192 if (count($this->attr) > 0) {
194 foreach ($this->attr as $k => $v) {
481 foreach ($this->attr as $key => $val) {
489 //no value attr: nowrap, checked selected...
628 if ($pass && $id !== '' && !isset($node->attr['id'])) {
633 if ($pass && $id !== '' && isset($node->attr['id'])) {
635 $node_id = explode(' ', trim($node->attr['id']))[0];
642 if (isset($node->attr['class'])) {
643 $node_classes = explode(' ', $node->attr['class']);
701 if (isset($node->attr[$att_name])) {
708 && !isset($node->attr[$att_name])) {
723 $nodeKeyValue = $node->attr[$att_name];
835 * <tag attr:ibute="something" > like google does.
967 if (isset($this->attr[$name])) {
968 return $this->convert_text($this->attr[$name]);
975 default: return array_key_exists($name, $this->attr);
993 if (!isset($this->attr[$name])) {
998 $this->attr[$name] = $value;
1008 //no value attr: nowrap, checked selected...
1009 return (array_key_exists($name, $this->attr)) ? true : isset($this->attr[$name]);
1014 if (isset($this->attr[$name])) { unset($this->attr[$name]); }
1106 if (isset($this->attr['width'])) {
1107 $width = $this->attr['width'];
1110 if (isset($this->attr['height'])) {
1111 $height = $this->attr['height'];
1115 if (isset($this->attr['style'])) {
1121 $this->attr['style'],
1257 return $this->attr;
2013 $node->attr = array();
2038 //no value attr: nowrap, checked selected...
2040 $node->attr[$name] = true;
2085 $is_duplicate = isset($node->attr[$name]);
2127 $node->attr[$name] = $value;