main/core/Manager/HomeManager.php
public function getMenu($id, $size, $type, $father = null, $region = null, $collapse = false)
    {
        $variables = ['id' => $id, 'size' => $size, 'type' => $type, 'region' => $region, 'collapse' => $collapse];

        return $this->homeService->isDefinedPush($variables, 'father', $father);
    }
public function getMenu($id, $size, $type, $father = null, $region = null, $collapse = false)
    {
        $variables = ['id' => $id, 'size' => $size, 'type' => $type, 'region' => $region, 'collapse' => $collapse];

        return $this->homeService->isDefinedPush($variables, 'father', $father);
    }
public function getMenu ( $ id , $ size , $ type , $ father = null , $ region = null , $ collapse = false ) { $ variables = [ 'id' => $ id , 'size' => $ size , 'type' => $ type , 'region' => $ region , 'collapse' => $ collapse ] ; return $ this -> homeService -> isDefinedPush ( $ variables , 'father' , $ father ) ; }
Get the variables of the menu.

@param string $id   The id of the content
@param string $size The size (content-8) of the content
@param string $type The type of the content

@return array
Get the variables of the menu .