Load the bibliographic style

version 1
package wikindx4\core\bibcitation
author Mark Grimshaw

 Methods

LOADSTYLE

__construct() 

Read $stylesDir directory for XML style files and return an associative array.

loadDir(string $stylesDir, boolean $compatible) : array

Each XML file should be within its own folder within $stylesDir. This folder name should match the first part of the XML file name e.g. apa/APA.xml or chicago/CHICAGO.xml.

CONSTANTS.php stores OSBIB_VERSION -- the osbibVersion field of the style XML file must equal this.

author Mark Grimshaw
version 1

Parameters

$stylesDir

string

Path to styles directory

$compatible

boolean

If TRUE (default), return only files compatible with OSBIB_VERSION

Returns

arraySorted assoc. array - keys = filename (less '.xml'), values = Style description.