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
Called by
1 to 15 of 122
- admin/oik-depends.inc
- admin/oik-plugins.inc
- admin/oik-themes.inc
- bobbforms.inc
- bobbfunc.inc
- bw_display_contact_form() – Show/process a contact form using oik
- bw_format_table() – Format the data in a table
- bw_form_sc_parm_help() – Return link to shortcode parameter help
- bw_save_scripts() – Save original dependencies
- bw_sc_example() – Display a shortcode example
- bw_sc_help() – Display shortcode help
- bw_sc_snippet() – Display a shortcode snippet
- bw_sc_syntax() – Display a shortcode’s syntax
- includes/bw_fields.inc
- includes/oik-remote.inc
Invoked by
Calls
1 to 3 of 3
