# module

class module extends simbio

## Properties

| $module_list |  |
| $appended_first |  |
| $appended_last |  |

## Methods

__construct()

No description

void
setModulesDir(string $str_modules_dir)

Method to set modules directory

string
generateModuleMenu(object $obj_db)

Method to generate a list of module menu

array
getModuleMainMenu(object $obj_db, bool $also_get_childs = false)

Method to get a list of module menu

string
generateSubMenu(string $str_module = '')

Method to generate a list of module submenu

array
getSubMenuItems(string $str_module = '')

Method to get a list of module submenu

array
reorderMenus(array $default, array $plugin)

Method to order default menu and plugin menu

mixed
getFirstMenu(string $str_module = '')

Method to get a first submenu of module

array
get_shortcuts_menu()

Method to get a list of shortcut submenu

unprivileged()

No description

## Details

###
at line 45
`__construct()`

No description

###
at line 57
`void setModulesDir(string $str_modules_dir)`

Method to set modules directory

#### Parameters

string | $str_modules_dir |

#### Return Value

void |

###
at line 69
`string generateModuleMenu(object $obj_db)`

Method to generate a list of module menu

#### Parameters

object | $obj_db |

#### Return Value

string |

###
at line 95
`array getModuleMainMenu(object $obj_db, bool $also_get_childs = false)`

Method to get a list of module menu

#### Parameters

object | $obj_db |
bool | $also_get_childs |

#### Return Value

array |

###
at line 132
`string generateSubMenu(string $str_module = '')`

Method to generate a list of module submenu

#### Parameters

string | $str_module |

#### Return Value

string |

###
at line 162
`array getSubMenuItems(string $str_module = '')`

Method to get a list of module submenu

#### Parameters

string | $str_module |

#### Return Value

array |

###
at line 204
`array reorderMenus(array $default, array $plugin)`

Method to order default menu and plugin menu

#### Parameters

array | $default |
array | $plugin |

#### Return Value

array |

###
at line 291
`mixed getFirstMenu(string $str_module = '')`

Method to get a first submenu of module

#### Parameters

string | $str_module |

#### Return Value

mixed |

###
at line 305
`array get_shortcuts_menu()`

Method to get a list of shortcut submenu

#### Return Value

array |

###
at line 317
`unprivileged()`

No description