/** * Retrieve item list for finder selections in Forms, Content type plugin and Scribite. * * @Route("/getItemListFinder", options={"expose"=true}) * * @param string $ot Name of currently used object type. * @param string $sort Sorting field. * @param string $sortdir Sorting direction. * * @return AjaxResponse */ public function getItemListFinderAction(Request $request) { return parent::getItemListFinderAction($request); }
/** * This method is the default function handling the main area called without defining arguments. * * @Route("/ajax", * methods = {"GET"} * ) * * @param Request $request Current request instance * @param string $ot Treated object type. * * @return mixed Output. * * @throws AccessDeniedException Thrown if the user doesn't have required permissions. */ public function indexAction(Request $request) { return parent::indexAction($request); }