1 | <?php |
||
22 | abstract class AbstractSyncTo extends Action |
||
23 | { |
||
24 | use CheckAccessTrait; |
||
25 | |||
26 | /** |
||
27 | * @param ElementInterface $element |
||
28 | * @param Objects $field |
||
29 | * @return ElementInterface|mixed |
||
30 | * @throws \yii\web\UnauthorizedHttpException |
||
31 | */ |
||
32 | protected function runInternal( |
||
47 | |||
48 | /** |
||
49 | * @param ElementInterface $element |
||
50 | * @param Objects $field |
||
51 | * @return bool |
||
52 | */ |
||
53 | protected function performAction( |
||
64 | |||
65 | /** |
||
66 | * @param ElementInterface $element |
||
67 | * @return ElementInterface |
||
68 | */ |
||
69 | protected function handleSuccessResponse(ElementInterface $element) |
||
75 | |||
76 | /** |
||
77 | * @param ElementInterface $element |
||
78 | * @return ElementInterface |
||
79 | */ |
||
80 | protected function handleFailResponse(ElementInterface $element) |
||
85 | } |
||
86 |