Download the PHP package openlss/lib-tml without Composer
On this page you can find all versions of the php package openlss/lib-tml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download openlss/lib-tml
More information about openlss/lib-tml
Files in openlss/lib-tml
Download openlss/lib-tml
More information about openlss/lib-tml
Files in openlss/lib-tml
Vendor openlss
Package lib-tml
Short Description Library for parsing and creating our Tabbed Meta Lanuage (TML)
License LGPL-3.0+
Homepage http://openlss.org
Package lib-tml
Short Description Library for parsing and creating our Tabbed Meta Lanuage (TML)
License LGPL-3.0+
Homepage http://openlss.org
Please rate this library. Is it a good library?
Informations about the package lib-tml
openlss/lib-tml
Library for parsing and creating our Tabbed Meta Lanuage (TML)
TML is a simple storage language that LSS can use. TML stands for “Tabbed Meta Language” while tabs arent required as a delimiter they are suggested.
Syntax
- Each level must be indented by one delimiter (TAB is the default)
- Name value pairs must be separated by one delimiter (TAB again)
- Empty arrays must be defined as: name []
- Anonymous array entries can be added to lists but when converted back to TML they will show with the indexes
- All TML files require a root element that defines the document
Example
Usage
Reference
(string) TML::fromArray($arr,$level=0,$newline=true)
- $arr The array to be parsed into TML
- $level This is an internal pointer for nested parsing
- $newline This is an internal flag for nested parsing Returns TML that can be transported as texted and is excellent for compression
(array) TML::toArray($buf)
- $buf The TML to be parsed Returns an array matching the original input array
All versions of lib-tml with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.2
The package openlss/lib-tml contains the following files
Loading the files please wait ....