mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Completing the first round of docblocks for the activation / deactivation classes
This commit is contained in:
parent
b7d17e4122
commit
5666bb7ddc
2 changed files with 42 additions and 31 deletions
|
@ -1,30 +1,37 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Short description (no period for file headers)
|
* @TODO
|
||||||
|
* Short description (no period for file headers)
|
||||||
*
|
*
|
||||||
* TODO: Long description.
|
* Long description.
|
||||||
*
|
*
|
||||||
* @package Plugin_Name
|
* @package TODO
|
||||||
* @author Your Name <email@example.com>
|
* @author Your Name <email@example.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @TODO
|
||||||
|
* Short description (no period for file headers)
|
||||||
|
*
|
||||||
|
* Long description.
|
||||||
|
*
|
||||||
|
* @package TODO
|
||||||
|
* @author Your Name <email@example.com>
|
||||||
|
* @license GPL-2.0+
|
||||||
|
* @link http://example.com
|
||||||
|
* @copyright 2014 Your Name or Company Name
|
||||||
|
*/
|
||||||
class Plugin_Name_Activator {
|
class Plugin_Name_Activator {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @TODO
|
||||||
* Short description. (use period)
|
* Short description. (use period)
|
||||||
*
|
*
|
||||||
* Long description.
|
* Long description.
|
||||||
*
|
*
|
||||||
* @since x.x.x
|
* @since x.x.x
|
||||||
* @access (for functions: only use if private)
|
* @link URL
|
||||||
*
|
|
||||||
* @see Function/method/class relied on
|
|
||||||
* @link URL
|
|
||||||
* @global type $varname Short description.
|
|
||||||
*
|
|
||||||
* @param type $var Description.
|
|
||||||
* @param type $var Optional. Description.
|
|
||||||
* @return type Description.
|
|
||||||
*/
|
*/
|
||||||
public static function activate() {
|
public static function activate() {
|
||||||
|
|
||||||
|
|
|
@ -1,33 +1,37 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Short Description (no period for file headers)
|
* @TODO
|
||||||
|
* Short description (no period for file headers)
|
||||||
*
|
*
|
||||||
* Long Description.
|
* Long description.
|
||||||
*
|
*
|
||||||
* @link URL
|
* @package TODO
|
||||||
* @since x.x.x (if available)
|
* @author Your Name <email@example.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @TODO
|
||||||
|
* Short description (no period for file headers)
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* Long description.
|
||||||
* @subpackage Component
|
*
|
||||||
|
* @package TODO
|
||||||
|
* @author Your Name <email@example.com>
|
||||||
|
* @license GPL-2.0+
|
||||||
|
* @link http://example.com
|
||||||
|
* @copyright 2014 Your Name or Company Name
|
||||||
*/
|
*/
|
||||||
class Plugin_Name_Deactivator {
|
class Plugin_Name_Deactivator {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Short description. (use period)
|
* @TODO
|
||||||
|
* Short description. (use period)
|
||||||
*
|
*
|
||||||
* TODO: Long description.
|
* Long description.
|
||||||
*
|
*
|
||||||
* @since x.x.x
|
* @since x.x.x
|
||||||
*
|
* @link URL
|
||||||
* @param type $var Description.
|
|
||||||
* @param array $args {
|
|
||||||
* Short description about this hash.
|
|
||||||
*
|
|
||||||
* @type type $var Description.
|
|
||||||
* @type type $var Description.
|
|
||||||
* }
|
|
||||||
* @param type $var Description.
|
|
||||||
*/
|
*/
|
||||||
public static function deactivate() {
|
public static function deactivate() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue