PHP Class Give_Welcome, Give

A general class for About and Credits page.
Since: 1.0
ファイルを表示 Open project: wordimpress/give

Public Properties

Property Type Description
$minimum_capability The capability users should have to view the page

Public Methods

Method Description
__construct ( ) Get things started
about_screen ( ) : void Render About Screen
admin_head ( ) : void Hide Individual Dashboard Pages
admin_menus ( ) : void Register the Dashboard Pages which are later hidden but these pages are used to render the Welcome and Credits pages.
changelog_screen ( ) : void Render Changelog Screen
contributors ( ) : string Render Contributors List
credits_screen ( ) : void Render Credits Screen
get_contributors ( ) : array Retreive list of contributors from GitHub.
getting_started_screen ( ) : void Render Getting Started Screen
parse_readme ( ) : string Parse the GIVE readme.txt file
tabs ( ) : void Navigation tabs
welcome ( ) : void Sends user to the Welcome page on first activation of GIVE as well as each time GIVE is upgraded to a new version

Method Details

__construct() public method

Get things started
Since: 1.0
public __construct ( )

about_screen() public method

Render About Screen
Since: 1.0
public about_screen ( ) : void
return void

admin_head() public method

Hide Individual Dashboard Pages
Since: 1.0
public admin_head ( ) : void
return void

admin_menus() public method

Register the Dashboard Pages which are later hidden but these pages are used to render the Welcome and Credits pages.
Since: 1.0
public admin_menus ( ) : void
return void

changelog_screen() public method

Render Changelog Screen
Since: 1.0
public changelog_screen ( ) : void
return void

contributors() public method

Render Contributors List
Since: 1.0
public contributors ( ) : string
return string $contributor_list HTML formatted list of all the contributors for GIVE

credits_screen() public method

Render Credits Screen
Since: 1.0
public credits_screen ( ) : void
return void

get_contributors() public method

Retreive list of contributors from GitHub.
Since: 1.0
public get_contributors ( ) : array
return array $contributors List of contributors

getting_started_screen() public method

Render Getting Started Screen
Since: 1.9
public getting_started_screen ( ) : void
return void

parse_readme() public method

Parse the GIVE readme.txt file
Since: 2.0.3
public parse_readme ( ) : string
return string $readme HTML formatted readme file

tabs() public method

Navigation tabs
Since: 1.0
public tabs ( ) : void
return void

welcome() public method

Sends user to the Welcome page on first activation of GIVE as well as each time GIVE is upgraded to a new version
Since: 1.0
public welcome ( ) : void
return void

Property Details

$minimum_capability public_oe property

The capability users should have to view the page
public $minimum_capability