Merge pull request #494 from jsirish/bugfix/setTableNames

bugfix - set $table_name for widgets
This commit is contained in:
Daniel Hensby 2017-12-15 15:04:31 +00:00 committed by GitHub
commit ae72dbe166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 0 deletions

View File

@ -64,6 +64,11 @@ class BlogArchiveWidget extends Widget
'Blog' => Blog::class, 'Blog' => Blog::class,
]; ];
/**
* @var string
*/
private static $table_name = 'BlogArchiveWidget';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -50,6 +50,11 @@ class BlogCategoriesWidget extends Widget
'Blog' => Blog::class, 'Blog' => Blog::class,
]; ];
/**
* @var string
*/
private static $table_name = 'BlogCategoriesWidget';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -47,6 +47,11 @@ class BlogRecentPostsWidget extends Widget
'Blog' => Blog::class, 'Blog' => Blog::class,
]; ];
/**
* @var string
*/
private static $table_name = 'BlogRecentPostsWidget';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -46,6 +46,11 @@ class BlogTagsCloudWidget extends Widget
'Blog' => Blog::class, 'Blog' => Blog::class,
]; ];
/**
* @var string
*/
private static $table_name = 'BlogTagsCloudWidget';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -49,6 +49,11 @@ class BlogTagsWidget extends Widget
'Blog' => Blog::class 'Blog' => Blog::class
]; ];
/**
* @var string
*/
private static $table_name = 'BlogTagsWidget';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */