The default action is displaying the list.

@return \Thelia\Core\HttpFoundation\Response the response
333485
public function defaultAction()
    {
        // Check current user authorization
        if (null !== $response = $this->checkAuth(static::CONTROLLER_CHECK_RESOURCE, Dealer::getModuleCode(),
                AccessManager::VIEW)
        ) {
            return $response;
        }

        return $this->getListRenderTemplate();
    }
721679
public function indexAction()
    {
        $body = '';
        $body .= '<a href="'.$this->generateUrl('phlexible_status_user_context').'">Context</a><br />';
        $body .= '<a href="'.$this->generateUrl('phlexible_status_user_session').'">Session</a>';

        return new Response($body);
    }
1041262
final public function showDefault() {
        $request = Request::instance();
        $t = new Template('.app/system/default', 'systemDefault');
        $t->assign(['action' => $request->src . '::' . $request->controller . '::' . $request->action]);

        return $t->show();
    }
105414
public function indexAction()
    {
        $sitemapindex = $this->getGenerator()->fetch('root');

        if (!$sitemapindex) {
            throw $this->createNotFoundException();
        }

        $response = Response::create($sitemapindex->toXml());
        $response->setPublic();
        $response->setClientTtl($this->getTtl());

        return $response;
    }
1355526
public function listAction()
    {
        $channel = $this->params()->fromRoute('channel', 'default');

        /* @var Paginator $paginator */
        $paginator = $this->paginator('Jobs/Job', ['channel' => $channel ]);

        $viewModel=new ViewModel();
        $viewModel->setVariables(
            [
                'jobs' => $paginator,
                'channel' => $channel
            ]
        );

        $viewModel->setTemplate('jobs/export/feed');

        return $viewModel;
    }
632740
public function listAction()
    {
        $page = $this->getRequest()->getQuery('page', 0);
        $limit = $this->getRequest()->getQuery('limit', $this->defaultPageSize);
        $sort = $this->getRequest()->getQuery('sort', $this->defaultSort);
        $order = $this->getRequest()->getQuery('order', $this->defaultOrder);

        if (empty($sort)) {
            $sort = $this->defaultSort;
        }

        $offset = $limit * $page - $limit;
        if ($offset < 0) {
            $offset = 0;
        }

        /* @var $qb \Doctrine\ORM\QueryBuilder */
        $qb = $this->getEntityManager()->createQueryBuilder();
        $qb->add('select', 'e')
            ->add('from', $this->getEntityClass().' e')
            ->orderBy('e.'.$sort, $order)
            ->setFirstResult($offset)
            ->setMaxResults($limit);

        $this->handleSearch($qb);

        $paginator = new Paginator(new DoctrinePaginator(new LosPaginator($qb, false)));
        $paginator->setDefaultItemCountPerPage($limit);
        $paginator->setCurrentPageNumber($page);
        $paginator->setPageRange($this->paginatorRange);

        return [
            'paginator' => $paginator,
            'sort' => $sort,
            'order' => $order,
            'page' => $page,
            'query' => $this->params()->fromQuery(),
        ];
    }
784371
public function actionIndex()
    {
        $request = \Yii::$app->request;
        if ($request->getIsOptions()) {
            return $this->ResponseOptions($this->verbs()['index']);
        }
        try{
            return Menu::getPageMenus(Yii::$app->request->queryParams);

        }catch(Exception $e)
        {
            throw new Exception($e);
        }



    }
193294
public function defaultActionEvent () {
		$this->allowedRequestParameter();
		$this->setErrorList($this->validate());

		$ret = $this->action($this->render);
		if ($ret === false) {
			$this->cancelEvents();
			return null;
		}
		return $ret;
	}
174842
public function indexAction()
    {
        $pageName = $this->getEvent()
            ->getRouteMatch()
            ->getParam('page', 'index');

        $pageType = $this->getEvent()
            ->getRouteMatch()
            ->getParam('pageType', PageTypes::NORMAL);

        $pageRevisionId = $this->getEvent()
            ->getRouteMatch()
            ->getParam('revision', null);

        return $this->getCmsResponse(
            $this->currentSite,
            $pageName,
            $pageType,
            $pageRevisionId
        );
    }
758450
public function indexAction()
    {
        $response = $this->getResponse();

        $params = $this->params()->fromRoute();
        if ($params['path'] === '') {
            $response->setStatusCode(404);
            return $response;
        }

        $info = pathinfo($params['path']);

        if ($info['dirname'] === '.') {
            $info['dirname'] = '';
        }

        /* @var $folder \CmsFile\Mapping\FolderInterface */
        $folder  = $this->getFolderService()->getMapper()->findOneByPath('/' . trim($info['dirname'], '/'));
        if (!$folder) {
            $response->setStatusCode(404);
            return $response;
        }

        $file = $folder->getFile($info['basename']);
        if (!$file) {
            $response->setStatusCode(404);
            return $response;
        }

        $response = new Stream;
        $response->setStream(fopen($file, 'r'));
        $response->setStatusCode(200);

        $headers = new Headers;
        $headers->addHeaderLine('Content-Type', $file->getType())
            ->addHeaderLine('Content-Disposition', 'attachment; filename="' . $file->getTitle() . '"')
            ->addHeaderLine('Content-Length', filesize($file));

        $response->setHeaders($headers);

        return $response;
    }
376072
public function listAction()
    {
        $siterootManager = $this->get('phlexible_siteroot.siteroot_manager');

        $siteroots = [];
        foreach ($siterootManager->findAll() as $siteroot) {
            $siteroots[] = [
                'id' => $siteroot->getId(),
                'title' => $siteroot->getTitle(),
            ];
        }

        return new JsonResponse([
            'siteroots' => $siteroots,
            'count' => count($siteroots),
        ]);
    }
337576
public function listAction()
    {
        \Mmi\App\FrontController::getInstance()->getResponse()->setHeader('Content-type', 'application/json');
        if (!$this->object || !$this->objectId || !$this->hash || !$this->t) {
            return '';
        }
        if ($this->hash != md5(\Mmi\Session\Session::getId() . '+' . $this->t . '+' . $this->objectId)) {
            return '';
        }
        $files = [];
        foreach (\Cms\Orm\CmsFileQuery::imagesByObject($this->object, $this->objectId)->find() as $file) {
            $files[] = ['title' => $file->original, 'value' => $file->getUrl('default', '')];
        }
        return json_encode($files);
    }
1083101
public function listAction()
    {
        $filterManager = $this->get('phlexible_message.filter_manager');

        $filters = [];

        foreach ($filterManager->findBy(['userId' => $this->getUser()->getId()]) as $filter) {
            $criteria = [];
            foreach ($filter->getCriteria() as $groupIndex => $group) {
                foreach ($group as $criterium) {
                    $criteria[] = [
                        'criteria' => $criterium->getType(),
                        'value' => $criterium->getValue(),
                        'group' => $groupIndex + 1,
                    ];
                }
            }

            $filters[] = [
                'id' => $filter->getId(),
                'title' => $filter->getTitle(),
                'criteria' => $criteria,
            ];
        }

        return new JsonResponse($filters);
    }
1025936
public function listAction()
    {
        $this->routeParam()->mapPageTo($this->queryService);
        $collection = $this->queryService->findUsedTags();

        return $this->viewModelFactory()->createFor($collection);
    }
987052
public function indexAction()
    {
        $page = $this->getEvent()
            ->getRouteMatch()
            ->getParam('page');

        $revision = $this->getEvent()
            ->getRouteMatch()
            ->getParam('revision', null);

        return $this->getCmsResponse(
            $this->currentSite,
            $page,
            $revision
        );
    }
600761
public function listAction()
    {
        $page = $this->getRequest()->getQuery('page', 0);
        $limit = $this->getRequest()->getQuery('limit', $this->defaultPageSize);
        $sort = $this->getRequest()->getQuery('sort', $this->defaultSort);
        $order = $this->getRequest()->getQuery('order', $this->defaultOrder);

        if (empty($sort)) {
            $sort = $this->defaultSort;
        }

        $offset = $limit * $page - $limit;
        if ($offset < 0) {
            $offset = 0;
        }

        /* @var $qb \Doctrine\ODM\MongoDB\Query\Builder */
        $qb = $this->getDocumentManager()->createQueryBuilder($this->getDocumentClass());
        $qb->select()
        ->sort($sort, $order)
        ->limit($limit)
        ->skip($offset);

        $this->handleSearch($qb);

        $paginator = new Paginator(new DoctrinePaginator($qb->getQuery()->execute()));
        $paginator->setDefaultItemCountPerPage($limit);
        $paginator->setCurrentPageNumber($page);
        $paginator->setPageRange($this->paginatorRange);

        return [
            'paginator' => $paginator,
            'sort' => $sort,
            'order' => $order,
            'page' => $page,
            'query' => $this->params()->fromQuery(),
        ];
    }
549281
final public function actionslistAction() {
		$reflection = new ReflectionObject($this);
		
		echo "Available actions:\033[1;32m";
		
		foreach ($reflection->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
			$length = strlen($method->name) - 6;
			
			if (strpos($method->name, 'Action') === $length) {
				echo ' ', substr($method->name, 0, $length);
			}
		}
		
		echo "\033[0m";
	}