XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
Breadcrumb.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
namespace
Xmf\Template
;
13
27
class
Breadcrumb
extends
AbstractTemplate
28
{
32
private
$items
= array();
33
39
protected
function
init
()
40
{
41
$this->
setTemplate
(
'module:xmf/xmf_breadcrumb.tpl'
);
42
}
43
54
public
function
setItems
(
$items
)
55
{
56
$this->items =
$items
;
57
}
58
64
protected
function
render
()
65
{
66
$this->tpl->assign(
'xmf_breadcrumb_items'
, $this->items);
67
}
68
}
Xmf\Template
Definition:
AbstractTemplate.php:12
Xmf\Template\Breadcrumb\setItems
setItems($items)
Definition:
Breadcrumb.php:54
Xmf\Template\AbstractTemplate\setTemplate
setTemplate($template= '')
Definition:
AbstractTemplate.php:70
Xmf\Template\Breadcrumb\render
render()
Definition:
Breadcrumb.php:64
Xmf\Template\AbstractTemplate
Definition:
AbstractTemplate.php:27
Xmf\Template\Breadcrumb\init
init()
Definition:
Breadcrumb.php:39
Xmf\Template\Breadcrumb\$items
$items
Definition:
Breadcrumb.php:32
Xmf\Template\Breadcrumb
Definition:
Breadcrumb.php:27
usr64
htdocs
xoops_lib
Xmf
Template
Breadcrumb.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1