Documentation

StyleSheets
in package

Table of Contents

Properties

$files  : mixed
$initialized  : mixed
$libraries  : mixed
$required  : mixed

Methods

add()  : mixed
Allows caller to insert new stylesheets into our resource collector
getFileExtension()  : mixed
Determines if the file should use a .min.css or not
getFiles()  : mixed
Retrieve files that are in the resource collector
getLibrary()  : mixed
Generates the path to the css assets file
initialize()  : mixed
Initializes the base css files that are required in foundry
isRequired()  : mixed
Determines if stylesheet needs to be loaded on the page
load()  : mixed
Loads a known stylesheet library from Foundry and insert it into the resource collector
required()  : mixed
Switch to determine if stylesheets should be rendered on the page

Properties

$files

public static mixed $files = ['token' => [], 'vendor' => [], 'component' => [], 'module' => [], 'utilities' => [], 'override' => []]

$initialized

public static mixed $initialized = false

$libraries

public static mixed $libraries = ['fontawesome' => ['path' => '/vendor/fontawesome/css/all', 'type' => 'vendor'], 'flatpickr' => ['path' => '/vendor/flatpickr/flatpickr', 'type' => 'vendor'], 'mmenu' => ['path' => '/vendor/mmenu/mmenu', 'type' => 'vendor'], 'select2' => ['path' => '/vendor/select2/select2', 'type' => 'vendor'], 'prism' => ['path' => '/vendor/prism/prism', 'type' => 'vendor'], 'lightbox' => ['path' => '/vendor/lightbox/lightbox', 'type' => 'vendor'], 'markitup' => ['path' => '/vendor/markitup/markitup', 'type' => 'vendor'], 'daterangepicker' => ['path' => '/vendor/daterangepicker/daterangepicker', 'type' => 'vendor']]

Methods

add()

Allows caller to insert new stylesheets into our resource collector

public static add(mixed $file, mixed $type) : mixed
Parameters
$file : mixed
$type : mixed
Tags
since
1.0
access

public

getFileExtension()

Determines if the file should use a .min.css or not

public static getFileExtension(mixed $fileName) : mixed
Parameters
$fileName : mixed
Tags
since
1.0
access

public

getFiles()

Retrieve files that are in the resource collector

public static getFiles() : mixed
Tags
since
1.0
access

public

getLibrary()

Generates the path to the css assets file

public static getLibrary(mixed $library) : mixed
Parameters
$library : mixed
Tags
since
1.0
access

public

initialize()

Initializes the base css files that are required in foundry

public static initialize() : mixed
Tags
since
1.0.0
access

public

isRequired()

Determines if stylesheet needs to be loaded on the page

public static isRequired() : mixed
Tags
since
1.0.0
access

public

load()

Loads a known stylesheet library from Foundry and insert it into the resource collector

public static load(mixed $library) : mixed
Parameters
$library : mixed
Tags
since
1.0.0
access

public

required()

Switch to determine if stylesheets should be rendered on the page

public static required() : mixed
Tags
since
1.0.0
access

public


        
On this page

Search results