code: public function getMenu($level = 1)
      {
          if (class_exists(ContentController::class)) {
              $controller = ContentController::singleton();
              return $controller->getMenu($level);
          }
      }
docs: If content controller exists, return it's menu function
  @param int $level Menu level to return.
  @return ArrayList