Documentation

NavBuilder
in package

Nav builder class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.3.0

Table of Contents

Methods

build()  : Child
Build the navigation from the nav object
prepare()  : array<string|int, mixed>
Prepare nav node

Methods

build()

Build the navigation from the nav object

public static build(Nav $navObject, array<string|int, mixed> $tree[, int $depth = 1 ][, string|null $parentHref = null ]) : Child
Parameters
$navObject : Nav
$tree : array<string|int, mixed>
$depth : int = 1
$parentHref : string|null = null
Tags
throws
Exception|Exception
Return values
Child

prepare()

Prepare nav node

public static prepare(Nav $navObject, array<string|int, mixed> $config[, int $depth = 1 ]) : array<string|int, mixed>
Parameters
$navObject : Nav
$config : array<string|int, mixed>
$depth : int = 1
Return values
array<string|int, mixed>

        
On this page

Search results