1 | <?php |
||
36 | class FileUploadObserver extends AbstractFileUploadObserver |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * Process the observer's business logic. |
||
41 | * |
||
42 | * @return array The processed row |
||
43 | */ |
||
44 | protected function process() |
||
53 | /** |
||
54 | * Return's the name of the source column with the image path. |
||
55 | * |
||
56 | * @return string The image path |
||
57 | */ |
||
58 | protected function getSourceColumn() |
||
62 | |||
63 | /** |
||
64 | * Return's the target column with the path of the copied image. |
||
65 | * |
||
66 | * @return string The path to the copied image |
||
67 | */ |
||
68 | protected function getTargetColumn() |
||
72 | |||
73 | /** |
||
74 | * Set's the name of the created image. |
||
75 | * |
||
76 | * @param string $parentImage The name of the created image |
||
77 | * |
||
78 | * @return void |
||
79 | */ |
||
80 | protected function setParentImage($parentImage) |
||
84 | } |
||
85 |