widgets/NotificationsAsset.php
public static function getFilename($theme, $type)
    {
        $filename = 'themes/' . $theme . '.' . $type;
        if (file_exists(Yii::getAlias(self::$assetsDirectory) . $filename)) {
            return $filename;
        }
        return false;
    }
public static function getFilename($theme, $type)
    {
        $filename = 'themes/' . $theme . '.' . $type;
        if (file_exists(Yii::getAlias(self::$assetsDirectory) . $filename)) {
            return $filename;
        }
        return false;
    }
public static function getFilename ( $ theme , $ type ) { $ filename = 'themes/' . $ theme . '.' . $ type ; if ( file_exists ( Yii :: getAlias ( self :: $ assetsDirectory ) . $ filename ) ) { return $ filename ; } return false ; }
Gets the required theme filename if it exists

@param string $theme The theme name
@param string $type The resource type. Either "js" or "css"
@return bool|string Returns the filename if it exists, or FALSE.
Gets the required theme filename if it exists