Stud.IP  5.4
MVVSearchNavigation Class Reference
Inheritance diagram for MVVSearchNavigation:
Navigation

Public Member Functions

 isVisible ($needs_image=false)
 
- Public Member Functions inherited from Navigation
 __construct ($title, $url=NULL, $params=NULL)
 
 initItem ()
 
 getImage ()
 
 getImageTag ()
 
 getTitle ()
 
 getDescription ()
 
 getURL ()
 
 getBadgeNumber ()
 
 getBadgeTimestamp ()
 
 hasBadgeNumber ()
 
 isActive ()
 
 isEnabled ()
 
 isVisible ($needs_image=false)
 
 setActive ($active)
 
 setEnabled ($enabled)
 
 setImage (?\Icon $image)
 
 setActiveImage (?\Icon $image)
 
 setLinkAttributes ($attributes)
 
 getLinkAttributes ()
 
 setTitle ($title)
 
 setDescription ($description)
 
 setURL ($url, $params=NULL)
 
 setBadgeNumber ($badgeNumber)
 
 setBadgeTimestamp ($badgeTimestamp)
 
 activeSubNavigation ()
 
 addSubNavigation ($name, Navigation $navigation)
 
 insertSubNavigation ($name, Navigation $navigation, $where)
 
 getSubNavigation ()
 
 removeSubNavigation ($name)
 
 getIterator ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Navigation
static activateItem ($path)
 
static addItem ($path, Navigation $navigation)
 
static insertItem ($path, Navigation $navigation, $where)
 
static removeItem ($path)
 
static getItem ($path)
 
static hasItem ($path)
 
static setRootNavigation (Navigation $navigation)
 
- Protected Member Functions inherited from Navigation
 initSubNavigation ()
 
- Protected Attributes inherited from Navigation
 $active
 
 $enabled
 
 $initialized = false
 
 $active_image
 
 $badgeNumber
 
 $badgeTimestamp
 
 $description
 
 $image
 
 $link_attributes = []
 
 $params
 
 $subnav
 
 $title
 
 $url
 

Detailed Description

Class MVVSearchNavigation to check visibility of navigation item from MVV

Member Function Documentation

◆ isVisible()

isVisible (   $needs_image = false)

Checks if the MVV-search should be visible (if some elements in correct status do exist).

Parameters
bool$needs_image: uninteresting since we have a third-level navigation item.
Returns
bool : from MVV::isVisibleSearch()

The documentation for this class was generated from the following file: