1355. Class

1355.1. Zend\Navigation\Page\Uri

Represents a page that is defined by specifying a URI

1355.1.1. Methods

1355.1.1.1. setUri

setUri()

Sets page URI

Parameters:string – page URI, must a string or null
Return type:Uri fluent interface, returns self
Throws :ExceptionInvalidArgumentException if $uri is invalid

1355.1.1.2. getUri

getUri()

Returns URI

Return type:string

1355.1.1.3. getHref

getHref()

Returns href for this page

Includes the fragment identifier if it is set.

Return type:string

1355.1.1.4. toArray

toArray()

Returns an array representation of the page

Return type:array

Project Versions

Table Of Contents

Previous topic

1354. Class

Next topic

1356. Function

This Page