Lines Matching defs:value
489 //no value attr: nowrap, checked selected...
734 . ' where nodes value is: '
740 // the value of the selector.
781 protected function match($exp, $pattern, $value, $case_sensitivity)
788 $value = strtolower($value);
793 return ($value === $pattern);
795 return ($value !== $pattern);
797 return preg_match('/^' . preg_quote($pattern, '/') . '/', $value);
799 return preg_match('/' . preg_quote($pattern, '/') . '$/', $value);
801 return preg_match('/' . preg_quote($pattern, '/') . '/', $value);
806 * Represents an element with the att attribute, its value
810 return strpos($value, $pattern) === 0;
815 * Represents an element with the att attribute whose value is a
821 return in_array($pattern, explode(' ', trim($value)), true);
910 * [3] - attribute value
979 function __set($name, $value)
985 case 'outertext': return $this->_[HDOM_INFO_OUTER] = $value;
988 return $this->_[HDOM_INFO_TEXT] = $value;
990 return $this->_[HDOM_INFO_INNER] = $value;
998 $this->attr[$name] = $value;
1008 //no value attr: nowrap, checked selected...
1265 function setAttribute($name, $value)
1267 $this->__set($name, $value);
2034 if ($this->char === '=') { // attribute with value
2036 $this->parse_attr($node, $name, $space); // get attribute value
2038 //no value attr: nowrap, checked selected...
2087 if (!$is_duplicate) // Copy whitespace between "=" and value
2094 $value = $this->copy_until_char('"');
2100 $value = $this->copy_until_char('\'');
2105 $value = $this->copy_until($this->token_attr);
2108 $value = $this->restore_noise($value);
2115 $value = str_replace("\r", '', $value);
2116 $value = str_replace("\n", '', $value);
2122 $value = trim($value);
2127 $node->attr[$name] = $value;
2320 function createElement($name, $value = null)
2322 return @str_get_html("<$name>$value</$name>")->firstChild();
2325 function createTextNode($value)
2327 return @end(str_get_html($value)->nodes);