protected function getAlertLibrary($bReturnDefault = false)
    {
        // Get the current alert library
        if(($this->sAlertLibrary) &&
            ($library = $this->getLibrary($this->sAlertLibrary)) && ($library instanceof Alert))
        {
            return $library;
        }
        // Get the configured alert library
        if(($sName = $this->getOption('dialogs.default.alert', '')) &&
            ($library = $this->getLibrary($sName)) && ($library instanceof Alert))
        {
            return $library;
        }
        // Get the default alert library
        return ($bReturnDefault ? $this->getPluginManager()->getDefaultAlert() : null);
    }
protected function getAlertLibrary($bReturnDefault = false)
    {
        // Get the current alert library
        if(($this->sAlertLibrary) &&
            ($library = $this->getLibrary($this->sAlertLibrary)) && ($library instanceof Alert))
        {
            return $library;
        }
        // Get the configured alert library
        if(($sName = $this->getOption('dialogs.default.alert', '')) &&
            ($library = $this->getLibrary($sName)) && ($library instanceof Alert))
        {
            return $library;
        }
        // Get the default alert library
        return ($bReturnDefault ? $this->getPluginManager()->getDefaultAlert() : null);
    }
protected function getAlertLibrary ( $ bReturnDefault = false ) { // Get the current alert library if ( ( $ this -> sAlertLibrary ) && ( $ library = $ this -> getLibrary ( $ this -> sAlertLibrary ) ) && ( $ library instanceof Alert ) ) { return $ library ; } // Get the configured alert library if ( ( $ sName = $ this -> getOption ( 'dialogs.default.alert' , '' ) ) && ( $ library = $ this -> getLibrary ( $ sName ) ) && ( $ library instanceof Alert ) ) { return $ library ; } // Get the default alert library return ( $ bReturnDefault ? $ this -> getPluginManager ( ) -> getDefaultAlert ( ) : null ) ; }
Get the library adapter to use for alerts.

@return Libraries\Library|null
Get the library adapter to use for alerts .