CMSimple_XH 開発者ドキュメント
XH\Li クラス

公開メンバ関数

 render (array $ta, $st)
 

限定公開メンバ関数

 renderULStartTags ($i)
 
 renderEndTags ($i)
 
 getMenuLevel ($i)
 
 getClassName ($i)
 
 isSelected ($i)
 
 isAnchestorOfSelectedPage ($i)
 
 hasChildren ($i)
 
 renderMenuItem ($i)
 
 renderAnchorStartTag ($i)
 
 shallOpenInNewWindow ($i)
 

限定公開変数類

 $ta
 
 $st
 
 $tf
 
 $b
 
 $lf
 

詳解

Li.php29 行目に定義があります。

関数詳解

◆ getClassName()

XH\Li::getClassName (   $i)
protected

Returns the class name of the current item.

引数
int$iThe index of the current item.
戻り値
string

array The configuration of the core.

Li.php182 行目に定義があります。

◆ getMenuLevel()

XH\Li::getMenuLevel (   $i)
protected

Returns the menu level of a menu item.

引数
int$iThe index of the current item.
戻り値
int

array The menu levels of the pages.

Li.php166 行目に定義があります。

◆ hasChildren()

XH\Li::hasChildren (   $i)
protected

Returns whether the current item has children.

引数
int$iThe index of the current item.
戻り値
bool

int The number of pages. array The menu levels of the pages. array The configuration of the core.

Li.php243 行目に定義があります。

◆ isAnchestorOfSelectedPage()

XH\Li::isAnchestorOfSelectedPage (   $i)
protected

Returns whether the current item is an anchestor of the selected page.

引数
int$iThe index of the current item.
戻り値
bool

int The index of the current page. array The URLs of the pages. array The menu levels of the pages. array The configuration of the core.

Li.php223 行目に定義があります。

◆ isSelected()

XH\Li::isSelected (   $i)
protected

Returns whether the current menu item is selected.

引数
int$iThe index of the current item.
戻り値
bool

Li.php202 行目に定義があります。

◆ render()

XH\Li::render ( array  $ta,
  $st 
)

Renders a menu structure of certain pages.

引数
array$taThe indexes of the pages.
mixed$stThe menu level to start with or the type of menu.
戻り値
string HTML

int The index of the current page.

Li.php76 行目に定義があります。

◆ renderAnchorStartTag()

XH\Li::renderAnchorStartTag (   $i)
protected

Renders an anchor start tag.

引数
int$iThe index of the current item.
戻り値
string HTML

Li.php294 行目に定義があります。

◆ renderEndTags()

XH\Li::renderEndTags (   $i)
protected

Renders the ul and li end tags.

引数
int$iThe index of the current item.
戻り値
string HTML

Li.php144 行目に定義があります。

◆ renderMenuItem()

XH\Li::renderMenuItem (   $i)
protected

Renders a menu item.

引数
int$iThe index of the current item.
戻り値
string HTML

array The headings of the pages.

Li.php269 行目に定義があります。

◆ renderULStartTags()

XH\Li::renderULStartTags (   $i)
protected

Renders the ul start tags.

引数
int$iThe index of the current item.
戻り値
string HTML

Li.php128 行目に定義があります。

◆ shallOpenInNewWindow()

XH\Li::shallOpenInNewWindow (   $i)
protected

Returns whether a link shall be opened in a new window.

引数
int$iThe index of the current item.
戻り値
bool

array Whether we are in edit mode. object The page data router.

Li.php310 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: