Skip to content

Commit

Permalink
Update developer docs reference urls and copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpugh committed Jul 4, 2017
1 parent 162ee03 commit 27913ac
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 WHMCS, Limited
Copyright (c) 2017 WHMCS, Limited

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ be structured and exercises all supported functionality.

For more information, please refer to the documentation at:

http://docs.whmcs.com/Registrar_Module_Developer_Docs
https://developers.whmcs.com/domain-registrars/

## Getting Started

Expand Down Expand Up @@ -48,7 +48,7 @@ The recommended structure of a registrar module is as follows.
## Minimum Requirements ##

For the latest WHMCS minimum system requirements, please refer to
http://docs.whmcs.com/System_Requirements
https://docs.whmcs.com/System_Requirements

We recommend your module follows the same minimum requirements wherever
possible.
Expand All @@ -59,8 +59,8 @@ We strongly encourage you to write unit tests for your work. Within this SDK we
provide a sample unit test based upon the widely used PHPUnit.

## Useful Resources
* [Developer Resources](http://www.whmcs.com/developers/)
* [Hook Documentation](http://docs.whmcs.com/Hooks)
* [API Documentation](http://docs.whmcs.com/API)
* [Developer Resources](https://developers.whmcs.com/)
* [Hook Documentation](https://developers.whmcs.com/hooks/)
* [API Documentation](https://developers.whmcs.com/api/)

[WHMCS Limited](http://www.whmcs.com)
[WHMCS Limited](https://www.whmcs.com)
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"registrar module",
"domain registrar module"
],
"homepage": "http://www.whmcs.com/",
"homepage": "https://www.whmcs.com/",
"license": "MIT",
"authors": [
{
"name": "WHMCS Development Team",
"email": "[email protected]",
"homepage": "http://www.whmcs.com/",
"homepage": "https://www.whmcs.com/",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"forum": "http://forums.whmcs.com/",
"wiki": "http://developers.whmcs.com/"
"forum": "https://forums.whmcs.com/",
"wiki": "https://developers.whmcs.com/"
},
"require-dev": {
"phpunit/phpunit": "@stable"
Expand Down
6 changes: 3 additions & 3 deletions modules/registrars/registrarmodule/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* For every hook function you create, you must also register it with WHMCS.
* There are two ways of registering hooks, both are demonstrated below.
*
* @see http://developers.whmcs.com/hooks/
* @see https://developers.whmcs.com/hooks/
*
* @copyright Copyright (c) WHMCS Limited 2016
* @license http://www.whmcs.com/license/ WHMCS Eula
* @license https://www.whmcs.com/license/ WHMCS Eula
*/

// Require any libraries needed for the module to function.
Expand All @@ -38,7 +38,7 @@
/**
* Sample Registrar Module Admin Dashboard Widget.
*
* @see http://developers.whmcs.com/addon-modules/admin-dashboard-widgets/
* @see https://developers.whmcs.com/addon-modules/admin-dashboard-widgets/
*/
class SampleRegistrarModuleWidget extends \WHMCS\Module\AbstractWidget
{
Expand Down
56 changes: 28 additions & 28 deletions modules/registrars/registrarmodule/registrarmodule.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
*
* For more information, please refer to the online documentation.
*
* @see http://developers.whmcs.com/domain-registrars/
* @see https://developers.whmcs.com/domain-registrars/
*
* @copyright Copyright (c) WHMCS Limited 2016
* @license http://www.whmcs.com/license/ WHMCS Eula
* @copyright Copyright (c) WHMCS Limited 2017
* @license https://www.whmcs.com/license/ WHMCS Eula
*/

if (!defined("WHMCS")) {
Expand Down Expand Up @@ -144,7 +144,7 @@ function registrarmodule_getConfigArray()
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -310,7 +310,7 @@ function registrarmodule_RegisterDomain($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -474,7 +474,7 @@ function registrarmodule_TransferDomain($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -544,7 +544,7 @@ function registrarmodule_RenewDomain($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -599,7 +599,7 @@ function registrarmodule_GetNameservers($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -660,7 +660,7 @@ function registrarmodule_SaveNameservers($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -765,7 +765,7 @@ function registrarmodule_GetContactDetails($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -846,7 +846,7 @@ function registrarmodule_SaveContactDetails($params)
* registration or transfer.
*
* @param array $params common module parameters
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @see \WHMCS\Domains\DomainLookup\SearchResult
* @see \WHMCS\Domains\DomainLookup\ResultsList
Expand Down Expand Up @@ -936,7 +936,7 @@ function registrarmodule_CheckAvailability($params)
* Defines the settings relating to domain suggestions (optional).
* It follows the same convention as `getConfigArray`.
*
* @see http://developers.whmcs.com/domain-registrars/check-availability/
* @see https://developers.whmcs.com/domain-registrars/check-availability/
*
* @return array of Configuration Options
*/
Expand All @@ -956,7 +956,7 @@ function registrarmodule_DomainSuggestionOptions() {
* Provide domain suggestions based on the domain lookup term provided.
*
* @param array $params common module parameters
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @see \WHMCS\Domains\DomainLookup\SearchResult
* @see \WHMCS\Domains\DomainLookup\ResultsList
Expand Down Expand Up @@ -1043,7 +1043,7 @@ function registrarmodule_GetDomainSuggestions($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return string|array Lock status or error message
*/
Expand Down Expand Up @@ -1091,7 +1091,7 @@ function registrarmodule_GetRegistrarLock($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1141,7 +1141,7 @@ function registrarmodule_SaveRegistrarLock($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array DNS Host Records
*/
Expand Down Expand Up @@ -1194,7 +1194,7 @@ function registrarmodule_GetDNS($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1244,7 +1244,7 @@ function registrarmodule_SaveDNS($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1301,7 +1301,7 @@ function registrarmodule_IDProtectToggle($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*
Expand Down Expand Up @@ -1359,7 +1359,7 @@ function registrarmodule_GetEPPCode($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1409,7 +1409,7 @@ function registrarmodule_ReleaseDomain($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1457,7 +1457,7 @@ function registrarmodule_RequestDelete($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1511,7 +1511,7 @@ function registrarmodule_RegisterNameserver($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1565,7 +1565,7 @@ function registrarmodule_ModifyNameserver($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1619,7 +1619,7 @@ function registrarmodule_DeleteNameserver($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1671,7 +1671,7 @@ function registrarmodule_Sync($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1759,7 +1759,7 @@ function registrarmodule_ClientAreaAllowedFunctions()
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return array
*/
Expand Down Expand Up @@ -1790,7 +1790,7 @@ function registrarmodule_push($params)
*
* @param array $params common module parameters
*
* @see http://developers.whmcs.com/domain-registrars/module-parameters/
* @see https://developers.whmcs.com/domain-registrars/module-parameters/
*
* @return string HTML Output
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/WHMCSSampleRegistrarModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* recommend you implement further tests as appropriate for your module use
* case.
*
* @copyright Copyright (c) WHMCS Limited 2016
* @copyright Copyright (c) WHMCS Limited 2017
* @license http://www.whmcs.com/license/ WHMCS Eula
*/

Expand Down

0 comments on commit 27913ac

Please sign in to comment.