Welcome Guest, Not a member yet? Register   Sign In
Breadcrumb helper or breadcrumb mode?
#3

[eluser]Lykos22[/eluser]
[quote author="JoostV" date="1352759693"]
Code:
// Controller: fetch breadcrumbs. Typically, this would return an array of objects or something
$breadcrumbs = $this->breadcrumb_m->get();
$this->load->view('some_view', array('breadcrumbs' => $breadcrumbs));
[/quote]

@JoostV: This breadcrumb_m , is this a model you have created your own, or a model based on a third-part library ?

I don't get it.. if it is a model you have created, how do you specify the name of the table and the fields you want to get in order to generate breadcrumbs??


Messages In This Thread
Breadcrumb helper or breadcrumb mode? - by El Forum - 11-12-2012, 12:25 AM
Breadcrumb helper or breadcrumb mode? - by El Forum - 11-12-2012, 03:34 PM
Breadcrumb helper or breadcrumb mode? - by El Forum - 06-13-2014, 05:25 AM
Breadcrumb helper or breadcrumb mode? - by El Forum - 06-16-2014, 02:27 AM
Breadcrumb helper or breadcrumb mode? - by El Forum - 06-16-2014, 04:13 AM
Breadcrumb helper or breadcrumb mode? - by El Forum - 06-16-2014, 06:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB