PHP 클래스 Fragen\GitHub_Updater\Install

Install / directly from GitHub Updater.
상속: extends Base
파일 보기 프로젝트 열기: afragen/github-updater

보호된 프로퍼티들

프로퍼티 타입 설명
$install array Class options.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

bitbucket_password() 공개 메소드

Bitbucket password for remote install.
public bitbucket_password ( )

bitbucket_username() 공개 메소드

Bitbucket username for remote install.
public bitbucket_username ( )

branch() 공개 메소드

Branch setting.
public branch ( )

create_form() 공개 메소드

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

get_repo() 공개 메소드

Repo setting.
public get_repo ( )

github_access_token() 공개 메소드

GitHub Access Token for remote install.
public github_access_token ( )

gitlab_access_token() 공개 메소드

GitLab Access Token for remote install.
public gitlab_access_token ( )

install() 공개 메소드

Install remote plugin or theme.
public install ( string $type ) : boolean
$type string
리턴 boolean

install_api() 공개 메소드

API setting.
public install_api ( )

install_plugin_complete_actions() 공개 메소드

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
리턴 mixed

install_theme_complete_actions() 공개 메소드

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
리턴 mixed

is_private_repo() 공개 메소드

Setting for private repo.
public is_private_repo ( )

register_settings() 공개 메소드

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

프로퍼티 상세

$install 보호되어 있는 정적으로 프로퍼티

Class options.
protected static array $install
리턴 array