Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OutputRules.php

function OutputRules::wr

Write to the output.

Parameters

string $text The string to put into the output:

Return value

$this

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 449

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal