Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPePub
Core
Structure
NCX
NavPoint
getLevel
PHPePub\Core\Structure\NCX\NavPoint::getLevel PHP Method
NavPoint Class Documentation
Show file
Open project: grandt/phpepub
getLevel()
public
method
Get the current level. 1 = document root.
public
getLevel
( ) :
integer
return
integer
level
function getLevel() { return $this->parent === null ? 1 : $this->parent->getLevel() + 1; }
NavPoint
__construct
__destruct
addNavPoint
finalize
finalizeEPub3
getContentSrc
getLabel
getLevel
getParent
getWritingDirection
setContentSrc
setId
setLabel
setNavClass
setNavHidden
setParent
setWritingDirection