Using revIgniter Libraries

All of the available libraries are located in your system/libraries folder. In most cases, to use one of these libraries involves loading it within a controller using the following handler:

rigLoaderLoadLibrary "Libraryname"

Where library name is the name of the library you want to invoke. For example, to load the Formvalidation library you would do this:

rigLoaderLoadLibrary "Formvalidation"

Once loaded you can use it as indicated in the user guide page corresponding to that library.

Loading Multiple Libraries

If you need to load more than one library you can specify them in a comma separated list, like this:

put "library1,library2,library3" into tLibraries
rigLoaderLoadLibrary tLibraries

Or you can specify them in an array, like this:

split tLibraries using comma
rigLoaderLoadLibrary tLibraries

Auto-loading Libraries

If you find that you need a particular library globally throughout your application, you can tell revIgniter to auto-load it during system initialization. This is done by opening the application/config/autoload.lc file and adding the library to the autoload array.

Creating Your Own Libraries

Please read the section of the user guide that discusses how to create your own libraries.