Translator

Methods Summary
public
# __construct( Omeka\Site\Navigation\Link\Manager $linkManager , Zend\Mvc\I18n\Translator $i18n )
public
# toZend( Omeka\Api\Representation\SiteRepresentation $site )
Translate Omeka site navigation to Zend Navigation format.
public
# toJstree( Omeka\Api\Representation\SiteRepresentation $site )
Translate Omeka site navigation to jsTree node format.
public
# fromJstree( array $jstree )
Translate jsTree node format to Omeka site navigation.
public
# getLinkLabel( Omeka\Site\Navigation\Link\LinkInterface $linkType , array $data , Omeka\Api\Representation\SiteRepresentation $site )
Get the label for a link. User-provided labels should be used as-is, while system-provided "backup" labels should be translated.
Properties Summary
protected Omeka\Site\Navigation\Link\Manager $linkManager
# NULL
protected Zend\Mvc\I18n\Translator $i18n
# NULL