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
-
Cakestrap\View\Helper\Basic
-
Cakestrap\View\Helper\CallOutHelper
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
|
Magic methods summary
public
|
|
public
|
|
public
|
|
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'
]
|