Documentation

EasyBlogStylesheet extends EasyBlog
in package

Table of Contents

Constants

FILE_STATUS_MISSING  = 2
FILE_STATUS_MODIFIED  = 1
FILE_STATUS_NEW  = -1
FILE_STATUS_REMOVED  = 3
FILE_STATUS_UNCHANGED  = 0
FILE_STATUS_UNKNOWN  = 4

Properties

$app  : mixed
$attached  : mixed
$baseurl  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$environment  : mixed
$filetypes  : mixed
$input  : mixed
$isModule  : mixed
$isOverride  : mixed
$jconfig  : mixed
$lang  : mixed
$location  : mixed
$my  : mixed
$name  : mixed
$ns  : mixed
$overrideStylesheet  : mixed
$string  : mixed
$themeName  : mixed
$workspace  : mixed
$class  : mixed

Methods

__construct()  : mixed
attach()  : mixed
Attaches stylesheet on the site.
attachFontawesome()  : mixed
Attaches font awesome css library
build()  : mixed
Compiles css files
builder()  : mixed
Retrieves the builder instance
compile()  : mixed
Allows caller to compile the less files and combine them into a single style.css file
compiler()  : mixed
Creates a new compiler instance
file()  : mixed
Retrieves the path of the folder to a specific file
folder()  : mixed
Retrieves the path of a given folder type
getDefaultWorkspace()  : mixed
getError()  : mixed
getErrors()  : mixed
getManifestMap()  : mixed
Retrieves the manifest mapping
hasError()  : mixed
hasErrors()  : mixed
hasOverride()  : mixed
Determines if a css file has an override
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
loadDefaultTheme()  : mixed
Force system to load the configured theme
loadLanguage()  : mixed
Helper method to load language
manifest()  : mixed
Get a list of manifest contents
minifier()  : mixed
minify()  : mixed
Minifies the css file
path()  : mixed
process()  : mixed
Attaches the stylesheet
relative()  : mixed
sections()  : mixed
setError()  : mixed
shouldAttachCss()  : mixed
Determines if the css should be added to the site
strip_root()  : mixed
type()  : mixed
uri()  : mixed
getCategoryCustomThemeStyle()  : mixed
Determines if there is category custom css file

Constants

FILE_STATUS_MISSING

public mixed FILE_STATUS_MISSING = 2

FILE_STATUS_MODIFIED

public mixed FILE_STATUS_MODIFIED = 1

FILE_STATUS_NEW

public mixed FILE_STATUS_NEW = -1

FILE_STATUS_REMOVED

public mixed FILE_STATUS_REMOVED = 3

FILE_STATUS_UNCHANGED

public mixed FILE_STATUS_UNCHANGED = 0

FILE_STATUS_UNKNOWN

public mixed FILE_STATUS_UNKNOWN = 4

Properties

$app

public mixed $app = \null

$attached

public static mixed $attached = array()

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$environment

public mixed $environment = 'production'

$filetypes

public static mixed $filetypes = array('ats' => array('css', 'minified'), 'less' => array('less', 'css', 'minified'), 'css' => array('css', 'minified'), 'section' => array('less', 'css', 'minified'))

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$overrideStylesheet

public mixed $overrideStylesheet

$string

public mixed $string = \null

$workspace

public mixed $workspace = array('site' => \null, 'site_base' => \null, 'admin' => \null, 'admin_base' => \null, 'override' => \null)

Methods

__construct()

public __construct(mixed $location, mixed $theme, mixed $useOverride) : mixed
Parameters
$location : mixed
$theme : mixed
$useOverride : mixed

attach()

Attaches stylesheet on the site.

public attach([mixed $minified = true ][, mixed $allowOverride = true ][, mixed $customCategoryTemplate = null ]) : mixed
Parameters
$minified : mixed = true
$allowOverride : mixed = true
$customCategoryTemplate : mixed = null
Tags
since
5.1
access

public

attachFontawesome()

Attaches font awesome css library

public attachFontawesome() : mixed
Tags
since
6.0.0
access

public

build()

Compiles css files

public build([mixed $preset = 'cache' ][, mixed $options = array() ]) : mixed
Parameters
$preset : mixed = 'cache'
$options : mixed = array()
Tags
since
5.1
access

public

builder()

Retrieves the builder instance

public builder() : mixed
Tags
since
5.1
access

public

compile()

Allows caller to compile the less files and combine them into a single style.css file

public compile(mixed $section[, mixed $options = array() ]) : mixed
Parameters
$section : mixed
$options : mixed = array()
Tags
since
5.1
access

public

compiler()

Creates a new compiler instance

public compiler() : mixed
Tags
since
2.0
access

public

file()

Retrieves the path of the folder to a specific file

public file(mixed $filename[, mixed $type = null ]) : mixed
Parameters
$filename : mixed
$type : mixed = null
Tags
since
5.1
access

public

folder()

Retrieves the path of a given folder type

public folder([mixed $name = 'current' ][, mixed $force = false ]) : mixed
Parameters
$name : mixed = 'current'
$force : mixed = false
Tags
since
5.1
access

public

getDefaultWorkspace()

public getDefaultWorkspace() : mixed

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getManifestMap()

Retrieves the manifest mapping

public getManifestMap() : mixed
Tags
since
5.1
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

hasOverride()

Determines if a css file has an override

public hasOverride() : mixed
Tags
since
5.1
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadDefaultTheme()

Force system to load the configured theme

public loadDefaultTheme() : mixed
Tags
since
5.4.
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

manifest()

Get a list of manifest contents

public manifest() : mixed
Tags
since
5.1
access

public

minify()

Minifies the css file

public minify(mixed $section[, mixed $options = array() ]) : mixed
Parameters
$section : mixed
$options : mixed = array()
Tags
since
2.0
access

public

path()

public path(mixed $filename[, mixed $type = null ]) : mixed
Parameters
$filename : mixed
$type : mixed = null

process()

Attaches the stylesheet

public process([mixed $minified = true ][, mixed $allowOverride = true ]) : mixed
Parameters
$minified : mixed = true
$allowOverride : mixed = true
Tags
since
5.1
access

public

relative()

public relative(mixed $dest[, mixed $root = '' ][, mixed $dir_sep = '/' ]) : mixed
Parameters
$dest : mixed
$root : mixed = ''
$dir_sep : mixed = '/'

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

shouldAttachCss()

Determines if the css should be added to the site

public shouldAttachCss(mixed $location) : mixed
Parameters
$location : mixed
Tags
since
5.3.3
access

public

strip_root()

public strip_root([mixed $path = '' ]) : mixed
Parameters
$path : mixed = ''

uri()

public uri(mixed $filename[, mixed $type = null ]) : mixed
Parameters
$filename : mixed
$type : mixed = null

getCategoryCustomThemeStyle()

Determines if there is category custom css file

private getCategoryCustomThemeStyle(mixed $customTheme[, mixed $file = 'style' ][, mixed $minified = true ]) : mixed
Parameters
$customTheme : mixed
$file : mixed = 'style'
$minified : mixed = true
Tags
since
5.4.
access

public


        
On this page

Search results