PHP Класс Redaxscript\Breadcrumb

С версии: 2.1.0
Автор: Henry Ruhs
Автор: Gary Aylward
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_breadcrumbArray array array of the breadcrumb
$_language object instance of the language class
$_optionArray array options of the breadcrumb
$_registry object instance of the registry class

Открытые методы

Метод Описание
__construct ( Registry $registry, Language $language ) constructor of the class
__toString ( ) : string stringify the breadcrumb
getArray ( ) : array get the breadcrumb array
init ( array $optionArray = [] ) init the class
render ( ) : string render the breadcrumb trail as an unordered list

Защищенные методы

Метод Описание
_create ( integer $key ) create the breadcrumb array
_createAdmin ( integer $key ) create the breadcrumb array for current administration
_createContent ( integer $key ) create the breadcrumb array for current content

Описание методов

__construct() публичный Метод

constructor of the class
С версии: 2.4.0
public __construct ( Registry $registry, Language $language )
$registry Registry instance of the registry class
$language Language instance of the language class

__toString() публичный Метод

stringify the breadcrumb
С версии: 3.0.0
public __toString ( ) : string
Результат string

_create() защищенный Метод

create the breadcrumb array
С версии: 2.1.0
protected _create ( integer $key )
$key integer key of the item

_createAdmin() защищенный Метод

create the breadcrumb array for current administration
С версии: 2.1.0
protected _createAdmin ( integer $key )
$key integer key of the item

_createContent() защищенный Метод

create the breadcrumb array for current content
С версии: 2.1.0
protected _createContent ( integer $key )
$key integer

getArray() публичный Метод

get the breadcrumb array
С версии: 2.1.0
public getArray ( ) : array
Результат array

init() публичный Метод

init the class
С версии: 2.6.0
public init ( array $optionArray = [] )
$optionArray array options of the breadcrumb

render() публичный Метод

render the breadcrumb trail as an unordered list
С версии: 2.1.0
public render ( ) : string
Результат string

Описание свойств

$_breadcrumbArray защищенное свойство

array of the breadcrumb
protected array $_breadcrumbArray
Результат array

$_language защищенное свойство

instance of the language class
protected object $_language
Результат object

$_optionArray защищенное свойство

options of the breadcrumb
protected array $_optionArray
Результат array

$_registry защищенное свойство

instance of the registry class
protected object $_registry
Результат object