You appear to be a bot. Output may be restricted
Description
Require a libraryLocates and loads (once) a library in order to make functions available to the invoking routine
Usage
$string = oik_require_lib( $library, $version, $args );
Parameters
- $library
- ( string ) required – the name of the (registered) library
- $version
- ( string ) optional – the required library version. null means don't care
- $args
- ( array ) optional – additional parameters
Returns
string the full path to the library file to loadSource
File name: oik-libs/libs/oik-lib.phpLines:
1 to 6 of 6
function oik_require_lib( $library, $version=null, $args=null ) { $oik_libs = oik_libs(); $library_file = $oik_libs->require_lib( $library, $version, $args ); bw_trace2( $library_file, "library_file", true, BW_TRACE_VERBOSE ); return( $library_file ); }View on GitHub