SimplePie_XML_Declaration_Parser::standalone_value

Advertisement

Syntax Syntax

SimplePie_XML_Declaration_Parser::standalone_value()

Source Source

File: wp-includes/SimplePie/XML/Declaration/Parser.php

		{
			switch ($standalone)
			{
				case 'yes':
					$this->standalone = true;
					break;

				case 'no':
					$this->standalone = false;
					break;

				default:
					$this->state = false;
					return;
			}

			$this->skip_whitespace();
			if ($this->has_data())
			{
				$this->state = false;
			}
			else
			{
				$this->state = 'emit';
			}
		}
		else
		{
			$this->state = false;
		}
	}
}

Advertisement

Advertisement

Leave a Reply