Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

GetCrumbs

Type: function

Class: BreadCrumbs

Platform: 2v

Function: getCrumbs

Visibility: public static

Parameter: getCrumbs($directory,$nodomain)

Description:
Bread crumb creator of the array, then can be used in a view logic.
Parameters:
(optional) - array - $crumbs - The links to be created in the array.
(optional) - string - $leadingText - The heading text of the bread crumbs.
(optional) - string - $separator - The separator between every crumb but the last.
(optional) - string - $static - If the links will be static and will/wont be in a chain.
(optional) - string - $homeName - The name of the home page.
Return:
array - Holds the information to build the bread crumbs.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
We can set $crumbs parameters to build the crumbs as we like.
How to call (example):
Code:
Possible outcome (example):
Output:
example: 2
Crumbs can be created automatically, no need to enter any parameters.
How to call (example):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔