class XHTML

Helps with valid XHTML/HTML5 names and constants.

Currently just enough to demonstrate some render object cases.

UML XHTML

@todo leverage existing XHTML/HTML5 libs.

@todo cover all valid tags.

@author darrenkelly

Hierarchy

  • class \Drupal\ooe\Xhtml\XHTML

Expanded class hierarchy of XHTML

See also

http://www.w3schools.com/tags/default.asp

http://www.w3schools.com/html/html_xhtml.asp

12 files declare their use of XHTML
OoePageController.php in lib/Drupal/ooe/Demo/OoePageController.php
OoePageController
RenderB.php in lib/Drupal/ooe/Render/Tag/RenderB.php
RenderB
RenderBr.php in lib/Drupal/ooe/Render/Tag/RenderBr.php
RenderBr
RenderEm.php in lib/Drupal/ooe/Render/Tag/RenderEm.php
RenderEm
RenderFactory.php in lib/Drupal/ooe/Render/RenderFactory.php
RenderFactory

... See full list

File

lib/Drupal/ooe/Xhtml/XHTML.php, line 27
XHTML

Namespace

Drupal\ooe\Xhtml
View source
class XHTML {
  const TABLE = 'table';
  const TR = 'tr';
  const TD = 'td';
  const TH = 'th';
  const A = 'a';
  const P = 'p';
  const B = 'b';
  const STRONG = 'strong';
  const I = 'i';
  const EM = 'em';
  const DIV = 'div';
  const IMG = 'img';
  const SPAN = 'span';
  const HR = 'hr';
  const BR = 'br';
  const BLOCKQUOTE = 'blockquote';
  const OL = 'ol';
  const UL = 'ul';
  const DL = 'dl';
}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
XHTML::A constant
XHTML::B constant
XHTML::BLOCKQUOTE constant
XHTML::BR constant
XHTML::DIV constant
XHTML::DL constant
XHTML::EM constant
XHTML::HR constant
XHTML::I constant
XHTML::IMG constant
XHTML::OL constant
XHTML::P constant
XHTML::SPAN constant
XHTML::STRONG constant
XHTML::TABLE constant
XHTML::TD constant
XHTML::TH constant
XHTML::TR constant
XHTML::UL constant