Download the PHP package indiana-university/iukb-api-doc-content-php without Composer
On this page you can find all versions of the php package indiana-university/iukb-api-doc-content-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download indiana-university/iukb-api-doc-content-php
More information about indiana-university/iukb-api-doc-content-php
Files in indiana-university/iukb-api-doc-content-php
Package iukb-api-doc-content-php
Short Description A class to make presenting knowledge base content easier
License BSD-3-Clause
Homepage https://github.com/indiana-university/iukb-api-doc-content-php
Informations about the package iukb-api-doc-content-php
IUKB API - PHP: Content
A class to make presenting knowledge base content easier
Requirements
- indiana-university/iukb-api-php
Usage
Usage is pretty simple, you simply call the create method statically on the factory class.
Basics
Links
The links the KB returns may not be valid for your uses. To alter them a a function is provided to 'rebase' them. This will let you change the part before the four character document id.
Rivet Styles
Currently the KB uses a custom bootstrap theme and so the class names follow
the bootstrap names. This is incompatible with Rivet. If you wish to display
documents using the rivet styles you can simply use the rivetize()
function.
This function is based on the Indiana University official "rivetizer" javascript library. For more information about the rivetizer, visit https://github.com/indiana-university/rivetizer.
Contributing
Contributions are welcome in the form of a github pull request. Note, for
consistency sake, please run composer check
and composer run-tests
on any code
you wish to contribute to this project and fix and resolve any issues found