public function isMainMenuItemActive($item)
    {
        return $this->contextOwner == $item->owner && $this->contextMainMenuItemCode == $item->code;
    }
public function isMainMenuItemActive($item)
    {
        return $this->contextOwner == $item->owner && $this->contextMainMenuItemCode == $item->code;
    }
public function isMainMenuItemActive ( $ item ) { return $ this -> contextOwner == $ item -> owner && $ this -> contextMainMenuItemCode == $ item -> code ; }
Determines if a main menu item is active.
@param mixed $item Specifies the item object.
@return boolean Returns true if the menu item is active.
Determines if a main menu item is active .