PHP 클래스 Redaxscript\Breadcrumb

부터: 2.1.0
저자: Henry Ruhs
저자: Gary Aylward
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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