public function getAttribStr($name)
	{
		$value = $this->attributes[$name];
		if ($value === null || $value === false || $name === null) {
			return '';
		}
		if ($value === true) {
			if ($this->element) {
				$class = get_class($this->element);
				if ($class::HTML_MODE) {
					return ' ' . $name;
				}
			}
			$value = $name;
		}
		return ' ' . $name . '="' . $value . '"';
	}