mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
PHPDoc & code cleanup
This commit is contained in:
@@ -32,6 +32,7 @@ use JSPopupMenuItem;
|
||||
*/
|
||||
class JsPopoverMenuItem extends PopoverMenuItem
|
||||
{
|
||||
// Overloaded constants
|
||||
const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/item/mode_js';
|
||||
|
||||
public function GetJsCode()
|
||||
|
||||
@@ -33,8 +33,8 @@ use Combodo\iTop\Application\UI\UIBlock;
|
||||
*/
|
||||
class PopoverMenuItem extends UIBlock
|
||||
{
|
||||
// Overloaded constants
|
||||
const BLOCK_CODE = 'ibo-popover-menu--item';
|
||||
|
||||
const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/item/layout';
|
||||
|
||||
/** @var \ApplicationPopupMenuItem $oPopupMenuItem We decorate the class with the original \ApplicationPopupMenuItem as it is used among the application (backoffice, portal, extensions) and cannot be refactored without BC breaks */
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace Combodo\iTop\Application\UI\Component\PopoverMenu\PopoverMenuItem;
|
||||
*/
|
||||
class UrlPopoverMenuItem extends PopoverMenuItem
|
||||
{
|
||||
// Overloaded constants
|
||||
const HTML_TEMPLATE_REL_PATH = 'components/popover-menu/item/mode_url';
|
||||
|
||||
/** @ignore */
|
||||
|
||||
Reference in New Issue
Block a user