public static hasConfirmation ( string $strScope = TL_MODE ) : boolean | ||
$strScope | string | An optional message scope |
return | boolean | True if there are confirmation messages |
public static function hasConfirmation($strScope = TL_MODE)
{
return \System::getContainer()->get('session')->getFlashBag()->has(static::getFlashBagKey('confirm', $strScope));
}