| PHP |
|---|
|
public static function GetMetas(string $author, LJCTextState $textState , string $description = null, string $keywords = null , string $charSet = "utf-8") : string |
| PHP |
|---|
// Gets common elements.
private static function GetMetas()
{
// Root Method Begin
$textState = new LJCTextState();
// Example Method:
$result = LJCHTML::GetMetas("John Q. Smith", $textState, "A description.");
// result:
// <meta charset="utf-8" />
// <meta name="description" content="The Description" />
// <meta name="author" content="Johm Q. Smith" />
// <meta name="viewport" content="width=device-width initial-scale=1" />
}
|