def add_view(<EOL>self,<EOL>baseview,<EOL>name,<EOL>href="<STR_LIT>",<EOL>icon="<STR_LIT>",<EOL>label="<STR_LIT>",<EOL>category="<STR_LIT>",<EOL>category_icon="<STR_LIT>",<EOL>category_label="<STR_LIT>",<EOL>):
baseview = self._check_and_init(baseview)<EOL>log.info(LOGMSG_INF_FAB_ADD_VIEW.format(baseview.__class__.__name__, name))<EOL>if not self._view_exists(baseview):<EOL><INDENT>baseview.appbuilder = self<EOL>self.baseviews.append(baseview)<EOL>self._process_inner_views()<EOL>if self.app:<EOL><INDENT>self.register_blueprint(baseview)<EOL>self._add_permission(baseview)<EOL><DEDENT><DEDENT>self.add_link(<EOL>name=name,<EOL>href=href,<EOL>icon=icon,<EOL>label=label,<EOL>category=category,<EOL>category_icon=category_icon,<EOL>category_label=category_label,<EOL>baseview=baseview,<EOL>)<EOL>return baseview<EOL>
Add your views associated with menus using this method.

:param baseview:
    A BaseView type class instantiated or not.
    This method will instantiate the class for you if needed.
:param name:
    The string name that identifies the menu.
:param href:
    Override the generated href for the menu.
    You can use an url string or an endpoint name
    if non provided default_view from view will be set as href.
:param icon:
    Font-Awesome icon name, optional.
:param label:
    The label that will be displayed on the menu,
    if absent param name will be used
:param category:
    The menu category where the menu will be included,
    if non provided the view will be acessible as a top menu.
:param category_icon:
    Font-Awesome icon name for the category, optional.
:param category_label:
    The label that will be displayed on the menu,
    if absent param name will be used

Examples::

    appbuilder = AppBuilder(app, db)
    # Register a view, rendering a top menu without icon.
    appbuilder.add_view(MyModelView(), "My View")
    # or not instantiated
    appbuilder.add_view(MyModelView, "My View")
    # Register a view, a submenu "Other View" from "Other" with a phone icon.
    appbuilder.add_view(
        MyOtherModelView,
        "Other View",
        icon='fa-phone',
        category="Others"
    )
    # Register a view, with category icon and translation.
    appbuilder.add_view(
        YetOtherModelView,
        "Other View",
        icon='fa-phone',
        label=_('Other View'),
        category="Others",
        category_icon='fa-envelop',
        category_label=_('Other View')
    )
    # Add a link
    appbuilder.add_link("google", href="www.google.com", icon = "fa-google-plus")