PHP Класс Fragen\GitHub_Updater\Language_Pack

Наследование: extends Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$repo object Variable containing the plugin/theme object.
$repo_api Variable containing the git host API object.

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

Метод Описание
__construct ( object $repo, object $api ) Language_Pack constructor.
pre_set_site_transient ( $transient ) : mixed Add language translations to update_plugins or update_themes transients.

Защищенные методы

Метод Описание
run ( ) Do the Language Pack integration.

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

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

Language_Pack constructor.
public __construct ( object $repo, object $api )
$repo object Plugin/Theme object.
$api object Git host API object.

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

Add language translations to update_plugins or update_themes transients.
public pre_set_site_transient ( $transient ) : mixed
$transient
Результат mixed

run() защищенный метод

Do the Language Pack integration.
protected run ( )

Описание свойств

$repo защищенное свойство

Variable containing the plugin/theme object.
protected object $repo
Результат object

$repo_api защищенное свойство

Variable containing the git host API object.
protected $repo_api