Overview

Namespaces

  • Cakestrap
    • View
      • Helper

Classes

  • AlertHelper
  • AssetHelper
  • BadgeHelper
  • Basic
  • ButtonItemsHelper
  • CakestrapHelper
  • CallOutHelper
  • CollapseHelper
  • DropdownHelper
  • ListGroupHelper
  • ModalHelper
  • PanelHelper
  • TabHelper
  • TableHelper
  • Templates
  • WellHelper
  • Overview
  • Namespace
  • Class

Class ListGroupHelper

List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.

<?php
echo $this->Cakestrap->ListGroup()
                     ->item("One")
                     ->item("Two")
                     ->item("Three")
                     ->set()
?>
Cake\View\Helper
Extended by Cakestrap\View\Helper\Basic
Extended by Cakestrap\View\Helper\ListGroupHelper
Namespace: Cakestrap\View\Helper
Package: Cakestrap\View\Helper
Link: http://getbootstrap.com/components/#list-group
Located at ListGroupHelper.php
Methods summary
public
# item( string $item = null )

Set the item

Set the item

Parameters

$item

Returns


$this
public string
# set( )

Set all the defined values. This will return the final html template.

Set all the defined values. This will return the final html template.

Returns

string
protected
# _setItem( )

Extract all the items

Extract all the items

protected
# _addToContainer( )

Add all items to parent container

Add all items to parent container

Methods inherited from Cakestrap\View\Helper\Basic
__call(), _reset(), assignTemplate(), body(), options()
Properties summary
protected array $_options

Default helper options. These options are merged with the user-provided options.

Default helper options. These options are merged with the user-provided options.

# [ 'class' => null ]
protected array $_item

An array to hold the list group item

An array to hold the list group item

# []
Properties inherited from Cakestrap\View\Helper\Basic
$_clone, $_contents, $_stringTemplate, $_template
API documentation generated by ApiGen