Documentation

Skin_Bootstrap extends Core_Skin
in package

Skin.

Tags
subpackage

Skin

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$instance  : array<string|int, mixed>
The singleton instances.
$skinModuleInstance  : array<string|int, mixed>
SkinModule singleton instances.
$_answer  : object
Answer
$_config  : mixed
Skin config
$_css  : array<string|int, mixed>
List of CSS files
$_js  : array<string|int, mixed>
List of JS files
$_lng  : string
Language
$_mode  : string
Mode
$_skinName  : string
Name of the skin
$_title  : string
Skin title
__construct()  : mixed
Constructor.
_getAllowedModules()  : array<string|int, mixed>
Get modules list which has been approved for current user
addCss()  : self
Add CSS file path
addJs()  : self
Add JS file path
answer()  : string
Set answer
authorization()  : mixed
Show authorization form
footer()  : mixed
Show footer
frontend()  : mixed
Show Front End panels
getConfig()  : mixed
Get skin config
getCss()  : array<string|int, mixed>
Get array of CSS's paths
getImageHref()  : string
Get image href
getJs()  : array<string|int, mixed>
Get array of JS's paths
getLng()  : string
Get language
getMessage()  : string
Get message.
getMode()  : string
Get mode
getSkinModule()  : Core_Module|null
Get skin's module
getSkinModuleName()  : string
Get skin's module name
getSkinName()  : string
Get skin name
header()  : mixed
Show header
index()  : self
Show back-end index page
instance()  : mixed
Get instance of object
loadingContainer()  : mixed
navSidebarMenu()  : mixed
setConfig()  : self
Set config
setLng()  : self
Set language
setMode()  : self
Set mode
showHead()  : mixed
Show HTML head
skinName()  : self
Set skin name
title()  : self
Set title
_getTimestamp()  : int
Mark of current version
_navBar()  : mixed
_pageSidebar()  : mixed

Properties

$instance

The singleton instances.

public static array<string|int, mixed> $instance = array()

$skinModuleInstance

SkinModule singleton instances.

public static array<string|int, mixed> $skinModuleInstance = array()

$_answer

Answer

protected object $_answer = \NULL

$_config

Skin config

protected mixed $_config = array()

$_css

List of CSS files

protected array<string|int, mixed> $_css = array()

$_js

List of JS files

protected array<string|int, mixed> $_js = array()

$_lng

Language

protected string $_lng = \NULL

$_mode

Mode

protected string $_mode = \NULL

$_skinName

Name of the skin

protected string $_skinName = 'bootstrap'

$_title

Skin title

protected string $_title

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

_getAllowedModules()

Get modules list which has been approved for current user

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

addCss()

Add CSS file path

public addCss(string $path) : self
Parameters
$path : string

file path

Return values
self

addJs()

Add JS file path

public addJs(string $path) : self
Parameters
$path : string

file path

Return values
self

answer()

Set answer

public answer() : string
Return values
string

authorization()

Show authorization form

public authorization() : mixed
Return values
mixed

Show footer

public footer() : mixed
Return values
mixed

frontend()

Show Front End panels

public frontend() : mixed
Return values
mixed

getConfig()

Get skin config

public getConfig() : mixed
Return values
mixed

getCss()

Get array of CSS's paths

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

getImageHref()

Get image href

public getImageHref() : string
Return values
string

getJs()

Get array of JS's paths

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

getLng()

Get language

public getLng() : string
Return values
string

getMessage()

Get message.

public getMessage( $message[,  $type = 'success' ]) : string
echo Core_Message::get(Core::_('constant.name')); echo Core_Message::get(Core::_('constant.message', 'value1', 'value2'));
Parameters
$message :

Message text

$type : = 'success'

Message type

Tags
see
Core_Message::show()
Return values
string

getMode()

Get mode

public getMode() : string
Return values
string

getSkinModule()

Get skin's module

public getSkinModule(string $modulePath) : Core_Module|null
Parameters
$modulePath : string

module path

Return values
Core_Module|null

getSkinModuleName()

Get skin's module name

public getSkinModuleName(string $modulePath) : string
Parameters
$modulePath : string

module path

Return values
string

getSkinName()

Get skin name

public getSkinName() : string
Return values
string

header()

Show header

public header() : mixed
Return values
mixed

index()

Show back-end index page

public index() : self
Return values
self

instance()

Get instance of object

public static instance([string $name = NULL ]) : mixed
Parameters
$name : string = NULL

name of skin

Return values
mixed

loadingContainer()

public loadingContainer() : mixed
Return values
mixed

navSidebarMenu()

public navSidebarMenu() : mixed
Return values
mixed

setConfig()

Set config

public setConfig(mixed $config) : self
Parameters
$config : mixed
Return values
self

setLng()

Set language

public setLng(string $lng) : self
Parameters
$lng : string

language

Return values
self

setMode()

Set mode

public setMode(string $mode) : self
Parameters
$mode : string

mode

Return values
self

showHead()

Show HTML head

public showHead() : mixed
Return values
mixed

skinName()

Set skin name

public skinName(string $skinName) : self
Parameters
$skinName : string

skin name

Return values
self

title()

Set title

public title(string $title) : self
Parameters
$title : string

title

Return values
self

_getTimestamp()

Mark of current version

protected _getTimestamp() : int
Return values
int

_navBar()

protected _navBar() : mixed
Return values
mixed

_pageSidebar()

protected _pageSidebar() : mixed
Return values
mixed

Search results