PHP Класс Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\WidgetView

С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Widget\Dashboard\View
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relations, Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository ) Constructor. Sets up the properties.
render ( mixed $object, array $instance ) : void Renders the widget's view.

Описание методов

__construct() публичный метод

Constructor. Sets up the properties.
С версии: 3.0.0
public __construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relations, Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository )
$site_relations Inpsyde\MultilingualPress\API\SiteRelations Site relations API object.
$post_repository Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository Untranslated posts repository object.

render() публичный метод

Renders the widget's view.
С версии: 3.0.0
public render ( mixed $object, array $instance ) : void
$object mixed Queried object, or other stuff.
$instance array Widget settings.
Результат void