$_language
$_language : string
The current language.
A generic implementation of the Luxor_Lang API to handle all programming languages that don't have a specific driver.
factory(string $driver, array $params = array()) : mixed
Attempts to return a concrete Luxor_Lang instance based on $driver.
string | $driver | The type of concrete Luxor_Lang subclass to return. The is based on the repository driver ($driver). The code is dynamically included. |
array | $params | (optional) A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete Luxor_Lang instance, or false on an error.
builder(\Luxor_Files $files, string $pathname) : mixed
Attempts to determine a files programming language and returns a parser instance for this language.
\Luxor_Files | $files | An instance of Luxor_Files to use for file operations and path name resolution. |
string | $pathname | The path name of the file to create a parser for. |
The created concrete Luxor_Lang instance, or false on error.