I modified datasources/query definitions, revised and commited the following
files.
Here we go:
[/r2/binarycloud/user/conf/Datasources.xml.php/Datasources.php]
- slight format changes too be consistent with lang, query etc
- changed "Case" of metabase specific tags. i.e "IncludePath" instead of
"includepath"
- changed tag <database_name> to <database>
[/r2/binarycloud/base/mgr/QueryManager.php]
- general
- changed 'QUERY' and 'ARGTYPES' records in query statements to
lowercase to work with xml2php output
- method PrepareConnection()
- added proper support for datasources format
- added support for "default" datasource
used if no datasource name is supplied via init
(i.e. missing in pagedef)
- method _ProcessResult()
- added strtolower for column-names in resultbuffer
- method _LoadQueries()
- changed method to support to load queries in query definition format
[/r2/binarycloud/user/mod/query_example/*]
- changed example and schemas to new conventions
should work with oracle and mysql now
- added qry/ directory and example query definitons
- added demonstration of queryloading in example
[/r2/binarycloud/user/htdocs/query_example.xml.php]
- added xml page definition for query example
[/r2/binarycloud/docs/specs/xml/datasources.xml]
- documented changes
Andi
|