Parameters
$xmlElement - The root Element.
Returns
The sections array.
Syntax
PHP |
public static function CreateSections(SimpleXMLElement $xmlElement)
|
Creates the Section data from an XMLDoc node.
Example
PHP |
include_once "LJCRoot.php";
$prefix = RelativePrefix();
include_once "$prefix/GenTextLib/LJCGenTextSectionLib.php";
$xmlElement = simplexml_load_file("Sections.xml");
$sections = LJCSections::CreateSections($xmlElement);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.