1 | <?php |
||
23 | class PerformFieldAction extends Action |
||
24 | { |
||
25 | use ManageTrait, |
||
26 | ResolverTrait; |
||
27 | |||
28 | /** |
||
29 | * @param string $field |
||
30 | * @param string $element |
||
31 | * @param string|null $action |
||
32 | * @return mixed |
||
33 | * @throws HttpException |
||
34 | * @throws \craft\errors\MissingComponentException |
||
35 | * @throws \yii\base\InvalidConfigException |
||
36 | */ |
||
37 | public function run(string $field, string $element, string $action = null) |
||
57 | |||
58 | /** |
||
59 | * @param IntegrationActionInterface $action |
||
60 | * @param Integrations $field |
||
61 | * @param ElementInterface $element |
||
62 | * @return mixed |
||
63 | * @throws \yii\web\UnauthorizedHttpException |
||
64 | */ |
||
65 | protected function runInternal( |
||
82 | |||
83 | /** |
||
84 | * @param IntegrationActionInterface $action |
||
85 | * @param Integrations $field |
||
86 | * @param ElementInterface $element |
||
87 | * @return bool |
||
88 | */ |
||
89 | public function performAction( |
||
97 | } |
||
98 |