Lines Matching defs:value
486 //no value attr: nowrap, checked selected...
738 . ' where nodes value is: '
744 // the value of the selector.
785 protected function match($exp, $pattern, $value, $case_sensitivity)
792 $value = strtolower($value);
797 return ($value === $pattern);
799 return ($value !== $pattern);
801 return preg_match('/^' . preg_quote($pattern, '/') . '/', $value);
803 return preg_match('/' . preg_quote($pattern, '/') . '$/', $value);
805 return preg_match('/' . preg_quote($pattern, '/') . '/', $value);
810 * Represents an element with the att attribute, its value
814 return strpos($value, $pattern) === 0;
819 * Represents an element with the att attribute whose value is a
825 return in_array($pattern, explode(' ', trim($value)), true);
914 * [3] - attribute value
983 function __set($name, $value)
989 case 'outertext': return $this->_[HDOM_INFO_OUTER] = $value;
992 return $this->_[HDOM_INFO_TEXT] = $value;
994 return $this->_[HDOM_INFO_INNER] = $value;
1002 $this->attr[$name] = $value;
1012 //no value attr: nowrap, checked selected...
1269 function setAttribute($name, $value)
1271 $this->__set($name, $value);
2040 if ($this->char === '=') { // attribute with value
2042 $this->parse_attr($node, $name, $space); // get attribute value
2044 //no value attr: nowrap, checked selected...
2093 if (!$is_duplicate) // Copy whitespace between "=" and value
2100 $value = $this->copy_until_char('"');
2106 $value = $this->copy_until_char('\'');
2111 $value = $this->copy_until($this->token_attr);
2114 $value = $this->restore_noise($value);
2121 $value = str_replace("\r", '', $value);
2122 $value = str_replace("\n", '', $value);
2128 $value = trim($value);
2133 $node->attr[$name] = $value;
2326 function createElement($name, $value = null)
2328 return @str_get_html("<$name>$value</$name>")->firstChild();
2331 function createTextNode($value)
2333 return @end(str_get_html($value)->nodes);