Lines Matching full:action
81 switch ($this->payload->action) {
85 $responseData = ['action' => 'inserted', 'tid' => $task->id];
88 $responseData = ['action' => 'inserted', 'tid' => $link->id];
95 $responseData = ['action' => 'deleted'];
98 $responseData = ['action' => 'deleted'];
105 $responseData = ['action' => 'updated'];
108 $responseData = ['action' => 'updated'];
113 $responseData = $this->error('Unknown action');
128 …if (empty($this->payload->action) || !in_array($this->payload->action, [self::ACTION_UPDATE, self:…
129 $error = $this->error('this action is not supported');
133 …if (empty($this->payload->action) || !in_array($this->payload->action, [self::ACTION_UPDATE, self:…
134 $error = $this->error('this action is not supported');
154 return ['action' => 'error', 'msg' => $msg];