You appear to be a bot. Output may be restricted
Description
Class constructor for oiksc_file_loader
Usage
$object = oiksc_file_loader::__construct( $contents_arr, $component_type );
Parameters
- $contents_arr
- ( mixed ) required –
- $component_type
- ( string ) required – the component type for this function or method
Returns
object oiksc_function_loader instanceSource
File name: oik-shortcodes/classes/class-oiksc-file-loader.phpLines:
1 to 29 of 29
function __construct( $contents_arr, $component_type ) { //parent::__construct( null ); global $plugin, $filename; if ( !$plugin ) { echo "Global plugin not set: $plugin!" . PHP_EOL; gob(); } if ( !$filename ) { echo "Global filename not set:$filename" . PHP_EOL; gob(); } $this->plugin = $plugin; $this->filename = $filename; $this->function_obj = null; $this->contents_arr = $contents_arr; static $fid = 0; $this->dummy_function_name = "oiksc_dummy_function_$fid" ; $fid++; //$this->extract_to_tmp(); //$this->require_tmp(); //print_r( $contents_arr ); //print_r( $this ); $this->component_type = $component_type; $this->extract_to_tmp(); $this->require_tmp(); //return( $this ); }View on GitHub