Menu_Item_Driver

class Nos\Menu\Menu_Item_Driver

This is an abstract class that must be extend by all declared drivers of Nos\Menu\Model_Menu_Item.

To declare a driver of Nos\Menu\Model_Menu_Item, you have to extend the noviusos_menu::config configuration file.

Nos\Menu\Menu_Item_Driver::title()
Returns:The title of the Nos\Menu\Model_Menu_Item
static Nos\Menu\Menu_Item_Driver::html(array $params = array())
By default, if the driver have a key view in his config, this view is forged with 2 parameters params and item_driver
If the driver have no view, build a div tag with html_tag function with $params and the driver title in parameters
Parameters:
  • $params (array) – Array of parameters
Returns:

A HTML representation of the Nos\Menu\Model_Menu_Item

static Nos\Menu\Menu_Item_Driver::config($reload = false)

The config file is assumed to be application_name::driver_path.

Parameters:
  • $reload (bool) – If true, reload the configuration and not use cache
Returns array:

The configuration of the driver

Read the Docs v: elche
Versions
latest
stable
elche
dubrovka
chiba.2
chiba.1
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.