\OpenEstate\PhpExportAssets

Factory for inclusion of globally provided assets (e.g. Javascript, CSS).

Summary

Methods
Properties
Constants
__construct()
jquery()
jquery_js()
openestate_icons()
openestate_icons_animation_css()
openestate_icons_css()
slick()
slick_js()
slick_css()
slick_theme_css()
No public properties found
JQUERY_VERSION
JQUERY_JS
OPENESTATE_ICONS_CSS
OPENESTATE_ICONS_ANIMATION_CSS
SLICK_VERSION
SLICK_JS
SLICK_CSS
SLICK_THEME_CSS
No protected methods found
No protected properties found
N/A
No private methods found
$env
N/A

Constants

JQUERY_VERSION

JQUERY_VERSION

Currently provided version of JQuery.

JQUERY_JS

JQUERY_JS

Internal name of the JQuery JavaScript.

OPENESTATE_ICONS_CSS

OPENESTATE_ICONS_CSS

Internal name for the OpenEstate Icons Stylesheet.

OPENESTATE_ICONS_ANIMATION_CSS

OPENESTATE_ICONS_ANIMATION_CSS

Internal name for the animated OpenEstate Icons Stylesheet.

SLICK_VERSION

SLICK_VERSION

Currently provided version of slick.

SLICK_JS

SLICK_JS

Internal name of the slick JavaScript.

SLICK_CSS

SLICK_CSS

Internal name of the slick Stylesheet.

SLICK_THEME_CSS

SLICK_THEME_CSS

Internal name of the slick default theme Stylesheet.

Properties

Methods

jquery()

jquery(boolean  $minimized = true, boolean  $defer = true) : array

Create all header elements for JQuery.

Parameters

boolean $minimized

use minimized files

boolean $defer

defer execution of the external JavaScript

Returns

array —

array of HTML header elements

jquery_js()

jquery_js(boolean  $minimized = true, boolean  $defer = true) : \OpenEstate\PhpExport\Html\Javascript

Create JavaScript header for JQuery.

Parameters

boolean $minimized

use minimized files

boolean $defer

defer execution of the external JavaScript

Returns

\OpenEstate\PhpExport\Html\Javascript

HTML header element

openestate_icons()

openestate_icons(boolean  $minimized = true) : array

Create all header elements for OpenEstate Icons.

Parameters

boolean $minimized

use minimized files

Returns

array —

array of HTML header elements

openestate_icons_animation_css()

openestate_icons_animation_css(boolean  $minimized = true) : \OpenEstate\PhpExport\Html\Stylesheet

Create Stylesheet header for animated OpenEstate Icons.

Parameters

boolean $minimized

use minimized files

Returns

\OpenEstate\PhpExport\Html\Stylesheet

HTML header element

openestate_icons_css()

openestate_icons_css(boolean  $minimized = true) : \OpenEstate\PhpExport\Html\Stylesheet

Create Stylesheet header for OpenEstate Icons.

Parameters

boolean $minimized

use minimized files

Returns

\OpenEstate\PhpExport\Html\Stylesheet

HTML header element

slick()

slick(boolean  $minimized = true, boolean  $includeDefaultTheme = false) : array

Create all header elements for slick.

Parameters

boolean $minimized

use minimized files

boolean $includeDefaultTheme

also import the default theme for slick

Returns

array —

array of HTML header elements

slick_js()

slick_js(boolean  $minimized = true, boolean  $defer = true) : \OpenEstate\PhpExport\Html\Javascript

Create JavaScript header for slick.

Parameters

boolean $minimized

use minimized files

boolean $defer

defer execution of the external JavaScript

Returns

\OpenEstate\PhpExport\Html\Javascript

HTML header element

slick_css()

slick_css(boolean  $minimized = true) : \OpenEstate\PhpExport\Html\Stylesheet

Create Stylesheet header for slick.

Parameters

boolean $minimized

use minimized files

Returns

\OpenEstate\PhpExport\Html\Stylesheet

HTML header element

slick_theme_css()

slick_theme_css(boolean  $minimized = true) : \OpenEstate\PhpExport\Html\Stylesheet

Create Stylesheet header for slick default theme.

Parameters

boolean $minimized

use minimized files

Returns

\OpenEstate\PhpExport\Html\Stylesheet

HTML header element