Example #1
0
/**
 * Build a breadcrumb
 *
 * @param array $items of the breadcrumb to be displayed
 * @return str HTML code of the breadcrumb to be inserted in another template
 * @todo Move to a static class method - Breadcrumb
 */
function icms_getBreadcrumb($items)
{
    $icmsBreadcrumb = new icms_view_Breadcrumb($items);
    return $icmsBreadcrumb->render(TRUE);
}
Example #2
0
 /**
  * Constructor
  */
 public function __construct($items)
 {
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_view_Breadcrumb', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     parent::__construct($items);
 }