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 CallOutHelper

Flexible and nicer details or info message boxes to draw attention to important information.

<?php
echo $this->Cakestrap->CallOut()
                     ->options(['type' => 'bs-callout-info'])
                     ->title("Note")
                     ->content("This callout  needs your attention, but it's not super important.")
                     ->set()
?>
Cake\View\Helper
Extended by Cakestrap\View\Helper\Basic
Extended by Cakestrap\View\Helper\CallOutHelper
Namespace: Cakestrap\View\Helper
Package: Cakestrap\View\Helper
Located at CallOutHelper.php
Methods summary
public string
# set( )

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

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

Returns

string
$container
protected
# _addToContainer( )

Add callout items to parent container

Add callout items to parent container

protected
# _setTitle( )

Set the template for callout title

Set the template for callout title

protected
# _setContent( )

Set the template for callout contents

Set the template for callout contents

protected
# _contents( )

Extract and merge the callout contents

Extract and merge the callout contents

Methods inherited from Cakestrap\View\Helper\Basic
__call(), _reset(), assignTemplate(), body(), options()
Magic methods summary
public
# options( array $options )

Parameters

$options

Returns

public
# title( string $title )

Parameters

$title

Returns

public
# content( string $content )

Parameters

$content

Returns

Properties summary
public 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.

# [ 'type' => 'bs-callout-info' ]
Properties inherited from Cakestrap\View\Helper\Basic
$_clone, $_contents, $_stringTemplate, $_template
API documentation generated by ApiGen