Table of Contents

Callout

A box with colored left border. It has type, title + text.

Callout

Syntax

$renderAdminLTE->getCallout($aOptions);

Return

{string} html code

Parameters

  • $aOptions - {array} options to describe the element

Styling:

Key Description
class optional: additional css classes
shadow size of shadow; one of
- [empty] (=default: between small and regular)
- “none”
- “small”
- “regular”
- “large”
type one of
- [empty]
- “danger”
- “dark”
- “info”
- “primary”
- “secondary”
- “success”
- “warning”

Content:

Key Description
text visible text
title title of the callout

Example

$renderAdminLTE->getCallout(array (
  'type' => 'success',
  'title' => 'I am a success callout',
  'text' => 'This is a gren callout.',
));