You appear to be a bot. Output may be restricted
Description
List the APIs for the selected filename
Usage
$array = _oiksc_get_apis( $file, $reload );
Parameters
- $file
- ( string ) optional – file name
- $reload
- ( bool ) optional – causes the static $apis array to be rebuilt
Returns
array associative array of API namesSource
File name: oik-shortcodes/admin/oik-apis.phpLines:
1 to 17 of 17
function _oiksc_get_apis( $file=null, $reload=false ) { global $plugin; static $apis = null; if ( !$apis || $reload ) { if ( $file ) { oik_require( "classes/oik-listapis2.php", "oik-shortcodes" ); $plugin = _oiksc_get_plugin(); $plugin = oiksc_get_plugin_slug( $plugin ); $component_type = oiksc_query_component_type( $plugin ); $apis = oiksc_list_file_functions2( $file, $component_type ); $apis = _oiksc_apis_list( $apis ); } else { $apis = array(); } } return( $apis ); }View on GitHub