/ LJCPHPCodeDoc / LJCHTMLLib / LJCHTML


Syntax

PHP
class LJCHTML

Provides methods for creating HTML sections.

Remarks

Other Append Element Methods
Link(), Meta(), Metas(), Script()
These methods append elements but do not change the IndentCount value.
The "Append" element methods create the added text without an ending newline. This behavior is done for consistency and it allows the developer to append to the existing text.
"Append" methods start the text with a newline if the builder already has text, param allowNewLine = true and builder text does not end with a newline.


Public Functions
Create Elements
GetBeginSelector Gets beginning of style selector.
GetLink Gets the link element for a style sheet.
GetMeta Gets a meta element.
GetMetas Gets common meta elements.
GetScript Gets a <script> element.
Create HTML
GetHTMLBegin Gets the HTML beginning up to and including <head>.
GetHTMLEnd Gets the HTML end <body> and <html>.
GetHTMLHead Gets the common HTML Head elements.
8 Functions

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.