onOffice WP Plugin

WPScriptStyleTest
in package
implements WPScriptStyleBase

Tags
url

http://www.onoffice.de

copyright

2003-2018, onOffice(R) GmbH

Interfaces, Classes, Traits and Enums

WPScriptStyleBase

Table of Contents

$_enqueuedScripts  : array<string|int, mixed>
$_enqueuedStyles  : array<string|int, mixed>
$_localizedScripts  : array<string|int, mixed>
$_registeredScripts  : array<string|int, mixed>
$_registeredStyles  : array<string|int, mixed>
enqueueScript()  : mixed
enqueueStyle()  : mixed
getEnqueuedScripts()  : array<string|int, mixed>
getEnqueuedStyles()  : array<string|int, mixed>
getLocalizedScripts()  : array<string|int, mixed>
getRegisteredScripts()  : array<string|int, mixed>
getRegisteredStyles()  : array<string|int, mixed>
localizeScript()  : bool
registerScript()  : bool
registerStyle()  : bool
getNewScriptArray()  : array<string|int, mixed>
getNewStyleArray()  : array<string|int, mixed>

Properties

$_registeredScripts

private array<string|int, mixed> $_registeredScripts = []

Methods

enqueueScript()

public enqueueScript(string $handle[, string $src = '' ][, array<string|int, mixed> $deps = [] ][, string|bool|null $ver = false ][, bool $inFooter = false ]) : mixed
Parameters
$handle : string
$src : string = ''
$deps : array<string|int, mixed> = []
$ver : string|bool|null = false
$inFooter : bool = false
Tags
throws
Exception
Return values
mixed

enqueueStyle()

public enqueueStyle(string $handle[, string $src = '' ][, array<string|int, mixed> $deps = [] ][, string|bool|null $ver = false ][, string $media = 'all' ]) : mixed
Parameters
$handle : string
$src : string = ''
$deps : array<string|int, mixed> = []
$ver : string|bool|null = false
$media : string = 'all'
Tags
throws
Exception
Return values
mixed

getEnqueuedScripts()

public getEnqueuedScripts() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEnqueuedStyles()

public getEnqueuedStyles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLocalizedScripts()

public getLocalizedScripts() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRegisteredScripts()

public getRegisteredScripts() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRegisteredStyles()

public getRegisteredStyles() : array<string|int, mixed>
Return values
array<string|int, mixed>

localizeScript()

public localizeScript(string $handle, string $name, array<string|int, mixed> $data) : bool
Parameters
$handle : string
$name : string
$data : array<string|int, mixed>
Tags
throws
Exception
Return values
bool

registerScript()

public registerScript(string $handle, string $src[, array<string|int, mixed> $deps = [] ][, string|bool|null $ver = false ][, bool $inFooter = false ]) : bool
Parameters
$handle : string
$src : string
$deps : array<string|int, mixed> = []
$ver : string|bool|null = false
$inFooter : bool = false
Tags
throws
Exception
Return values
bool

registerStyle()

public registerStyle(string $handle, string $src[, array<string|int, mixed> $deps = [] ][, string|bool|null $ver = false ][, string $media = 'all' ]) : bool
Parameters
$handle : string
$src : string
$deps : array<string|int, mixed> = []
$ver : string|bool|null = false
$media : string = 'all'
Tags
throws
Exception
Return values
bool

getNewScriptArray()

private getNewScriptArray(string $src, array<string|int, mixed> $deps, string $ver, bool $inFooter) : array<string|int, mixed>
Parameters
$src : string
$deps : array<string|int, mixed>
$ver : string
$inFooter : bool
Return values
array<string|int, mixed>

getNewStyleArray()

private getNewStyleArray(string $src, array<string|int, mixed> $deps, string $ver, string $media) : array<string|int, mixed>
Parameters
$src : string
$deps : array<string|int, mixed>
$ver : string
$media : string
Return values
array<string|int, mixed>

Search results