PHP Class Fragen\GitHub_Updater\Install

Install / directly from GitHub Updater.
Inheritance: extends Base
Afficher le fichier Open project: afragen/github-updater

Protected Properties

Свойство Type Description
$install array Class options.

Méthodes publiques

Méthode Description
__construct ( $type ) Constructor.
bitbucket_password ( ) Bitbucket password for remote install.
bitbucket_username ( ) Bitbucket username for remote install.
branch ( ) Branch setting.
create_form ( string $type ) Create Install Plugin or Install Theme page.
get_repo ( ) Repo setting.
github_access_token ( ) GitHub Access Token for remote install.
gitlab_access_token ( ) GitLab Access Token for remote install.
install ( string $type ) : boolean Install remote plugin or theme.
install_api ( ) API setting.
install_plugin_complete_actions ( $install_actions, $api, $plugin_file ) : mixed Remove activation links after plugin installation as no method to get $plugin_file.
install_theme_complete_actions ( $install_actions, $api, $theme_info ) : mixed Fix activation links after theme installation, no method to get proper theme name.
is_private_repo ( ) Setting for private repo.
register_settings ( string $type ) Add settings sections.

Method Details

__construct() public méthode

Need class-wp-upgrader.php for upgrade classes.
public __construct ( $type )
$type

bitbucket_password() public méthode

Bitbucket password for remote install.
public bitbucket_password ( )

bitbucket_username() public méthode

Bitbucket username for remote install.
public bitbucket_username ( )

branch() public méthode

Branch setting.
public branch ( )

create_form() public méthode

Create Install Plugin or Install Theme page.
public create_form ( string $type )
$type string

get_repo() public méthode

Repo setting.
public get_repo ( )

github_access_token() public méthode

GitHub Access Token for remote install.
public github_access_token ( )

gitlab_access_token() public méthode

GitLab Access Token for remote install.
public gitlab_access_token ( )

install() public méthode

Install remote plugin or theme.
public install ( string $type ) : boolean
$type string
Résultat boolean

install_api() public méthode

API setting.
public install_api ( )

install_plugin_complete_actions() public méthode

Remove activation links after plugin installation as no method to get $plugin_file.
public install_plugin_complete_actions ( $install_actions, $api, $plugin_file ) : mixed
$install_actions
$api
$plugin_file
Résultat mixed

install_theme_complete_actions() public méthode

Fix activation links after theme installation, no method to get proper theme name.
public install_theme_complete_actions ( $install_actions, $api, $theme_info ) : mixed
$install_actions
$api
$theme_info
Résultat mixed

is_private_repo() public méthode

Setting for private repo.
public is_private_repo ( )

register_settings() public méthode

Add settings sections.
public register_settings ( string $type )
$type string

Property Details

$install protected_oe static_oe property

Class options.
protected static array $install
Résultat array