kartik\helpers\Html::blockquote PHP Method

blockquote() public static method

Example: ~~~ echo Html::blockquote( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.', 'Someone famous in {source}', 'International Premier League', 'IPL' ); ~~~
See also: http://getbootstrap.com/css/#type-blockquotes
public static blockquote ( string $content, string $citeContent = '', string $citeTitle = '', string $citeSource = '', array $options = [] ) : string
$content string the blockquote content
$citeContent string the content of the citation (optional) - this should typically include the tag '{source}' to embed the cite source
$citeTitle string the cite source title (optional)
$citeSource string the cite source (optional)
$options array html options for the blockquote
return string
    public static function blockquote($content, $citeContent = '', $citeTitle = '', $citeSource = '', $options = [])
    {
        $content = static::tag('p', $content);
        if (!Enum::isEmpty($citeContent)) {
            $source = static::tag('cite', $citeSource, ['title' => $citeTitle]);
            $content .= "\n<small>" . str_replace('{source}', $source, $citeContent) . "</small>";
        }
        return static::tag('blockquote', $content, $options);
    }