You are here

protected function OutputRules::wr in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php \Masterminds\HTML5\Serializer\OutputRules::wr()

Write to the output.

Parameters

string $text: The string to put into the output.

Return value

\Masterminds\HTML5\Serializer\Traverser $this so it can be used in chaining.

6 calls to OutputRules::wr()
OutputRules::cdata in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write a CDATA node.
OutputRules::comment in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write a comment node.
OutputRules::doctype in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
OutputRules::element in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write an element.
OutputRules::openTag in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write the opening tag.

... See full list

File

vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php, line 442
The rules for generating output in the serializer.

Class

OutputRules
Generate the output html5 based on element rules.

Namespace

Masterminds\HTML5\Serializer

Code

protected function wr($text) {
  fwrite($this->out, $text);
  return $this;
}