php-utils

Resources extends Base
in package

This class provides utility functions for including external resources in PHP applications.

Table of Contents

Properties

$author  : mixed
$debug_log  : mixed
$debugger  : mixed
$name  : mixed
$url  : mixed
$vars  : mixed
$verbose  : mixed
$version  : mixed

Methods

__construct()  : mixed
Bootstrap()  : void
Includes the Bootstrap CSS and JS files from a CDN.
jQuery()  : void
Includes the jQuery JS file from a CDN.

Properties

$author

public mixed $author = "Darknetzz"

$debug_log

public mixed $debug_log = []

$debugger

public mixed $debugger

$name

public mixed $name = "PHPUtils"

$url

public mixed $url = "https://github.com/Darknetzz"

$vars

public mixed $vars

$verbose

public mixed $verbose = \true

$version

public mixed $version = "1.0.0"

Methods

__construct()

public __construct() : mixed

Bootstrap()

Includes the Bootstrap CSS and JS files from a CDN.

public Bootstrap([string $version = '5.3.2' ]) : void
Parameters
$version : string = '5.3.2'

The version of Bootstrap to include. Default is '5.3.2'.

jQuery()

Includes the jQuery JS file from a CDN.

public jQuery([string $version = '3.7.1' ]) : void
Parameters
$version : string = '3.7.1'

The version of jQuery to include. Default is '3.7.1'.


        
On this page

Search results