This action handles manipulating of record

@param string $name
@return \Symfony\Component\HttpFoundation\Response
330643
public function rowAction ($name)
    {
        $oper = $this->getRequest()->get('oper', false);
        if (!in_array($oper, array('add', 'edit', 'del'))){
            throw new \InvalidArgumentException(sprintf('Event type: %s is not valid', $oper));
        }
        
        $eventType = 'neutron_datagrid.onRow' . ucfirst($oper);
        
        $event = new RowEvent($name, $this->getRequest()->get('id'));

        $this->container->get('event_dispatcher')->dispatch($eventType, $event);
        
        return new JsonResponse(array(
            'errors'  => $event->getErrors(), 
            'success' => $event->getSuccess(), 
            'id'      => $event->getId(),
            'data'    => $event->getData()
        ));
    }
259297
public function createSchema($name)
    {
        $schema = new Schema($name);
        $this->actions[] =  function () use ($schema) {
             return $this->manipulation->create($schema);
         };
    }
270548
public function update($code, $name)
    {
        $transformer = new UpdateTransformer($code, $name);
        $body        = $transformer->output();

        /** @var \SkyHub\Api\Handler\Response\HandlerInterface $responseHandler */
        $responseHandler = $this->service()->put($this->baseUrlPath($code), $body);

        return $responseHandler;
    }
1016532
public function actionView($name)
    {
        $formModel = new AddAuthItemForm();

        /* @var $am CAuthManager|AuthBehavior */
        $am = Yii::app()->getAuthManager();

        if (isset($_POST['AddAuthItemForm'])) {
            $formModel->attributes = $_POST['AddAuthItemForm'];
            if ($formModel->validate()) {
                if (!$am->hasItemChild($name, $formModel->items)) {
                    $am->addItemChild($name, $formModel->items);
                    if ($am instanceof CPhpAuthManager) {
                        $am->save();
                    }
                }
            }
        }

        $item = $am->getAuthItem($name);

        $dpConfig = array(
            'pagination' => false,
            'sort' => array('defaultOrder' => 'depth asc'),
        );

        $ancestors = $am->getAncestors($name);
        $ancestorDp = new PermissionDataProvider(array_values($ancestors), $dpConfig);

        $descendants = $am->getDescendants($name);
        $descendantDp = new PermissionDataProvider(array_values($descendants), $dpConfig);

        $childOptions = $this->getItemChildOptions($item->name);
        if (!empty($childOptions)) {
            $childOptions = array_merge(array('' => Yii::t('AuthModule.main', 'Select item') . ' ...'), $childOptions);
        }

        $this->render(
            'view',
            array(
                'item' => $item,
                'ancestorDp' => $ancestorDp,
                'descendantDp' => $descendantDp,
                'formModel' => $formModel,
                'childOptions' => $childOptions,
            )
        );
    }
1116015
public function removeCookie(string $name): Response
    {
        $this->addCookie(
                Cookie::create($name, 'remove')->expiringAt(time() - 86400)
        );
        return $this;
    }
440721
public function addSelect($name, $attributes = array()) {
	
		$control = new FormControlSelect($name, $attributes);
		$this->addControl($control);
	
		return $control;
	
	}
432264
public static function get_response($name)
    {
        if (isset(self::$responses[$name]) && self::$responses[$name] instanceof PheryResponse) {
            return self::$responses[$name];
        }

        return null;
    }
1187807
public function execute($row, $name = null)
    {
        parent::execute($row, $name);
        return $row[MemberNames::SELECTION_ID];
    }
1197917
public function create($code, $name)
    {
        $transformer = new CreateTransformer($code, $name);
        $body        = $transformer->output();

        /** @var \SkyHub\Api\Handler\Response\HandlerInterface $responseHandler */
        $responseHandler = $this->service()->post($this->baseUrlPath(), $body);

        return $responseHandler;
    }
962387
protected function _invokeIsset($name)
    {
        if (!self::__isInvokable($name)) {
            return $this;
        }
        $is_static = self::__isStatic($name);
        $property = $this->findPropertyName($name);
        return !empty($property);
    }
133634
protected function updateRecord($name)
    {
        try {
            return (bool) $this->db
                    ->update($this->table)
                    ->where($this->columns['name'])->eq($name)
                    ->set(array(
                        $this->columns['data'] => serialize($this->cache[$name]->toArray()),
            ));
        } catch (PDOException $e) {
            return false;
        }
    }
732508
protected function callHooks($name)
    {
        $hooks = Arr::get($this->hooks, $name, []);

        foreach ($hooks as $func) {
            if (!$func instanceof Closure) {
                continue;
            }

            $response = call_user_func($func, $this);

            if ($response instanceof Response) {
                return $response;
            }
        }
    }
768364
public function alterTable($name, array $options = [])
    {
        $schema = isset($options['schema']) ? new Schema($options['schema']) : null;

        return (new TableApi($name, $schema, $this->manipulation, $this->actions))
            ->alterTable();
    }
1082690
public function set_response_name($name)
    {
        if (!empty($this->name)) {
            unset(self::$responses[$this->name]);
        }
        $this->name = $name;
        self::$responses[$this->name] = $this;

        return $this;
    }
1244060
public function getHandler($name) {
        if (!isset($this->instances[$name])) {
            $handlerClass = __NAMESPACE__ . '\\' . $name;
            $this->instances[$name] = new $handlerClass($this->builder);
        }
        return $this->instances[$name];
    }
971914
public function createAction($name)
    {
        if (!$this->actions->containsKey($name)) {
            throw new \InvalidArgumentException(sprintf(
                'Any action registered under "%s" name, only ["%s"] are.',
                $name,
                implode('","', $this->actions->getKeys())
            ));
        }

        return clone $this->actions->get($name);
    }
576648
public function getPostCollectHandlerByName($name)
    {
        return isset($this->postCollectHandlerIndex[$name]) ? $this->postCollectHandlerIndex[$name] : null;
    }