list associations action.


@return string
490774
public function listAssociationsAction()
    {
        $this->checkStaticTemplateIsIncluded();
        $this->checkSettings();

        $this->slotExtendedAssignMultiple([
            self::VIEW_VARIABLE_ASSOCIATION_ID => $this->settings[self::SETTINGS_ASSOCIATION_ID],
            self::VIEW_VARIABLE_FILTER => $this->getAssociationsFilter()
        ], __CLASS__, __FUNCTION__);

        return $this->view->render();
    }
1133173
public function actionList($aParams = array())
    {
        $oData = $this->mapper()->find();
        $aParams = array(
            'Data' => $oData
        );

        return $this->view('List', $aParams);
    }
208806
public function getAction()
    {
        $actionId = $this->getViewParameter('action');
        if ($actionId && $this->_getLoadActionsParam()) {
            $artList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
            $artList->loadActionArticles($actionId);
            if ($artList->count()) {
                return $artList;
            }
        }
    }
907187
public function indexAction() {
        $em = $this->getDoctrine()->getManager();
        $rootName = $this->container->getParameter('flowcode_news.root_category');
        $root = $em->getRepository('AmulenClassificationBundle:Category')->findOneBy(array("name" => $rootName));
        $entities = $em->getRepository('AmulenClassificationBundle:Category')->getChildren($root);

        return array(
            'entities' => $entities,
            'rootcategory' => $root,
        );
    }
403443
public function behaviors() {

		$behaviours	= parent::behaviors();

		$behaviours[ 'rbac' ][ 'actions' ][ 'index' ]		= [ 'permission' => $this->crudPermission ];
		$behaviours[ 'rbac' ][ 'actions' ][ 'dashboard' ]	= [ 'permission' => $this->crudPermission ];

		$behaviours[ 'verbs' ][ 'actions' ][ 'index' ]		= [ 'get' ];
		$behaviours[ 'verbs' ][ 'actions' ][ 'dashboard' ]	= [ 'get' ];

		return $behaviours;
	}
812448
protected function getAllActions()
    {
        $fields = $this->form->Fields()->dataFields();
        $actions = $this->form->Actions()->dataFields();

        $fieldsAndActions = array_merge($fields, $actions);
        $actions = array_filter($fieldsAndActions, function ($fieldOrAction) {
            return $fieldOrAction instanceof FormAction;
        });

        return $actions;
    }
885646
public function actionIndex()
    {
        
        if($this->searchClass === null){
            $searchModel = new AssigmentSearch;
        }  else {
            $class = $this->searchClass;
            $searchModel = new $class;
        }       

        $dataProvider = $searchModel->search(\Yii::$app->request->getQueryParams(), $this->userClassName, $this->usernameField);
        return $this->render('index', [
                'dataProvider' => $dataProvider,
                'searchModel' => $searchModel,
                'idField' => $this->idField,
                'usernameField' => $this->usernameField,
        ]);
    }
746372
public function associations()
    {
        if (!$this->associations) {
            if ($this->getService('rails.config')['use_cache']) {
                $this->associations = $this->getCachedData();
            } else {
                $this->associations = $this->getAssociationsData();
            }
        }
        return $this->associations;
    }
603942
public function getActions()
    {
        if (!$this->_actions)
        {
            $this->_actions = array();

            foreach ($this->getMethods() as $method)
            {
                if (substr($method, 0, 7) == '_action') {
                    $this->_actions[] = strtolower(substr($method, 7));
                }
            }

            $this->_actions = array_unique($this->_actions);
        }

        return $this->_actions;
    }
508420
public function actions() {

		if( !Yii::$app->user->isGuest ) {

			$this->layout = CoreGlobalWeb::LAYOUT_PRIVATE;
		}

		return [
			'captcha' => [
				'class' => 'yii\captcha\CaptchaAction',
				'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null,
			],
			'error' => [
				'class' => 'yii\web\ErrorAction'
			]
		];
	}
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";
	}
621717
public function actionList()
    {
        $models = $this->getNewEntity()->fetchAll();
        $view = $this->createView('list');
        $view['content'] = $models;
        return $view;
    }
469590
public function listFunctionariesAction()
    {
        $this->checkStaticTemplateIsIncluded();
        $this->checkSettings();

        $this->slotExtendedAssignMultiple([
            self::VIEW_VARIABLE_ASSOCIATION_ID => $this->settings[self::SETTINGS_ASSOCIATION_ID],
            self::VIEW_VARIABLE_FILTER => $this->getFunctionariesFilter()
        ], __CLASS__, __FUNCTION__);

        return $this->view->render();
    }
875067
public function listEventsAction()
    {
        $this->checkStaticTemplateIsIncluded();
        $this->checkSettings();

        $this->slotExtendedAssignMultiple([
            self::VIEW_VARIABLE_ASSOCIATION_ID => $this->settings[self::SETTINGS_ASSOCIATION_ID],
            self::VIEW_VARIABLE_FILTER => $this->getEventsFilter()
        ], __CLASS__, __FUNCTION__);

        return $this->view->render();
    }
1242816
protected function _getActionGroups()
    {
        $action = $this->_action();
        $groups = $action->getConfig('scaffold.action_groups') ?: [];

        $groupedActions = [];
        foreach ($groups as $group) {
            $groupedActions[] = array_keys(Hash::normalize($group));
        }

        // add "primary" actions (primary should rendered as separate buttons)
        $groupedActions = (new Collection($groupedActions))->unfold()->toList();
        $groups['primary'] = array_diff(array_keys($this->_getAllowedActions()), $groupedActions);

        return $groups;
    }
815736
private function _associations_names()
    {
        $associations = array();
        foreach ($this->associations() as $assocs) {
            foreach ($assocs as $k => $v)
                $associations[] = is_int($k) ? $v : $k;
        }
        return $associations;
    }
679104
public function listAction() {
        $entities = $this->container->get("haven_web.faq.read_handler")->getAll();


        foreach ($entities as $entity) {
            $delete_forms[$entity->getId()] = $this->container->get("haven_web.faq.form_handler")->createDeleteForm($entity->getId())->createView();
            $rank_forms[$entity->getId()] = $this->container->get("haven_web.faq.form_handler")->createRankForm($entity->getId(), $entity->getRank())->createView();
        }

        return array("entities" => $entities
            , 'delete_forms' => isset($delete_forms) && is_array($delete_forms) ? $delete_forms : array()
            , 'rank_forms' => isset($rank_forms) && is_array($rank_forms) ? $rank_forms : array()
        );
    }