1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2025-04-19 13:45:35 +03:00

Documenting classes

Documenting classes that are core to each plugin, while also leaving other classes undocumented for an implementation-specific basis.
This commit is contained in:
Tom McFarlin 2014-07-29 16:56:18 -04:00
parent f09ca373d8
commit 560e5959a5
6 changed files with 137 additions and 135 deletions

View file

@ -24,29 +24,27 @@
class Plugin_Name_Admin {
/**
* Short description. (use period)
* The version of this plugin.
*
* @since 1.0.0
* @access private
* @var type $var Description.
* @var string $version The current version of this plugin.
*/
private $version;
/**
* Short description. (use period)
* Initialize the class and set its properties.
*
* @since 1.0.0
* @access private
* @var type $var Description.
* @access public
* @var string $version The version of this plugin.
*/
public function __construct( $version ) {
$this->version = $version;
}
/**
* Short description. (use period)
*
* Long description.
* Register the stylesheets for the Dashboard.
*
* @since 1.0.0
*/
@ -69,9 +67,7 @@ class Plugin_Name_Admin {
}
/**
* Short description. (use period)
*
* Long description.
* Register the JavaScript for the dashboard.
*
* @since 1.0.0
*/

View file

@ -1,4 +1,4 @@
/**
* All of the CSS for your Dashboard-specific functionality should be
* All of the CSS for your dashboard-specific functionality should be
* included in this file.
*/