mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
N°2060 [WIP] Initialisation of the portal application: Huge code cleanup
- Rename variables and methods in iTop files to match coding conventions - Format code accordingly to coding conventions - Add / update PHPDoc all over the place - Suppress most of the warnings that did not have a big impact on code's logic
This commit is contained in:
@@ -25,14 +25,14 @@ require_once APPROOT.'/lib/composer-vendor/autoload.php';
|
||||
|
||||
/**
|
||||
* iTopPortalEditUrlMaker
|
||||
*
|
||||
*
|
||||
* @author Guillaume Lajarige <guillaume.lajarige@combodo.com>
|
||||
* @author Bruno Da Silva <bruno.dasilva@combodo.com>
|
||||
* @since 2.3.0
|
||||
* @since 2.3.0
|
||||
*/
|
||||
class iTopPortalEditUrlMaker extends AbstractPortalUrlMaker
|
||||
{
|
||||
/** @var string PORTAL_ID */
|
||||
/** @var string PORTAL_ID */
|
||||
const PORTAL_ID = 'itop-portal';
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class iTopPortalEditUrlMaker extends AbstractPortalUrlMaker
|
||||
*
|
||||
* @author Guillaume Lajarige <guillaume.lajarige@combodo.com>
|
||||
* @author Bruno Da Silva <bruno.dasilva@combodo.com>
|
||||
* @since 2.3.0
|
||||
* @since 2.3.0
|
||||
*/
|
||||
class iTopPortalViewUrlMaker extends iTopPortalEditUrlMaker
|
||||
{
|
||||
@@ -52,7 +52,7 @@ class iTopPortalViewUrlMaker extends iTopPortalEditUrlMaker
|
||||
{
|
||||
return static::PrepareObjectURL($sClass, $iId, 'view');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Default portal hyperlink (for notifications) is the edit hyperlink
|
||||
|
||||
Reference in New Issue
Block a user