You appear to be a bot. Output may be restricted
Description
Return an instance of a library objectLogic is invoked Only When Necessary So we only set the minimum number of properties and leave the rest of the values in $args.
Usage
$the = OIK_lib::__construct( $lib_args );
Parameters
- $lib_args
- ( array ) required – array of library properties as above
Returns
the instance of the objectTO DO
Defer setting of versionSource
File name: oik-lib/includes/class-oik-lib.phpLines:
1 to 10 of 10
function __construct( $lib_args ) { $this->library = bw_array_get( $lib_args, 'library', null ); $this->path = null; $this->src = null; $this->deps = null; $this->version = bw_array_get( $lib_args, 'version', null ); $this->args = $lib_args; $this->error = null; return( $this ); }View on GitHub