Completed
Push — master ( 2e6333...1c8f27 )
by Tim
17:33
created

Classes/Xclass/GraphicalMenuContentObject.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * GraphicalMenuContentObject
4
 */
5
6
namespace FRUIT\Popup\Xclass;
7
8
use FRUIT\Popup\Popup;
9
10
/**
11
 * GraphicalMenuContentObject
12
 */
13
class GraphicalMenuContentObject extends \TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject
14
{
15
    /**
16
     * Calls typolink to create menu item links.
17
     *
18
     * @param array $page Page record (uid points where to link to)
19
     * @param string $oTarget Target frame/window
20
     * @param bool $no_cache TRUE if caching should be disabled
21
     * @param string $script Alternative script name (unused)
22
     * @param array|string $overrideArray Array to override values in $page, empty string to skip override
23
     * @param string $addParams Parameters to add to URL
24
     * @param int|string $typeOverride "type" value, empty string means "not set"
25
     * @return array See linkData
26
     */
27
    function menuTypoLink($page, $oTarget, $no_cache, $script, $overrideArray = '', $addParams = '', $typeOverride = '')
0 ignored issues
show
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
28
    {
29
        $LD = parent::menuTypoLink($page, $oTarget, $no_cache, $script, $overrideArray, $addParams, $typeOverride);
30
        Popup::makeMenuLink($page, $LD);
31
        return $LD;
32
    }
33
34
}