Documentation

NavBuilder
in package

Nav builder class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
3.3.0

Table of Contents

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 $parentHref = null ]) : Child
Parameters
$navObject : Nav
$tree : array<string|int, mixed>
$depth : int = 1
$parentHref : string = null
Tags
throws
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>

Search results