| Next revision | Previous revision |
| scriptlog:lib:controller:exportcontroller [2026/09/26 09:09] – admin admin | scriptlog:lib:controller:exportcontroller [2026/09/26 09:34] (current) – admin admin |
|---|
| ======= Docblock Metadata ======= | ======= Docblock Metadata ======= |
| |
| ^ Tag ^ Value ^ | ^ Tag ^ Value ^ |
| | ''@category'' | Controller Class | | | ''@category'' | Controller Class | |
| | ''@author'' | M.Noermoehammad | | | ''@author'' | M.Noermoehammad | |
| | ''@license'' | MIT | | | ''@license'' | MIT | |
| | ''@version'' | 1.0 | | | ''@version'' | 1.0 | |
| | ''@since'' | Since Release 1.0 | | | ''@since'' | Since Release 1.0 | |
| |
| ======= Inheritance ======= | ======= Inheritance ======= |
| |
| ^ Relation ^ Type ^ Meaning ^ | ^ Relation ^ Type ^ Meaning ^ |
| | extends | [[scriptlog:lib:core:baseapp|''BaseApp'']] | parent class/interface | | | extends | [[scriptlog:lib:core:baseapp|''BaseApp'']] | parent class/interface | |
| |
| ======= Constants (0) ======= | ======= Constants (0) ======= |
| //None.// | //None.// |
| |
| ======= Properties (2) ======= | ======= Properties (4) ======= |
| |
| ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ | ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ |
| | ''private'' | ''(untyped)'' | ''$error'' | ''[];'' | 31 | | | ''private'' | ''(untyped)'' | ''$exportService'' | | 28 | |
| | ''private'' | ''(untyped)'' | ''$success'' | ''[];'' | 32 | | | ''private'' | ''(untyped)'' | ''$view'' | | 29 | |
| | | ''private'' | ''(untyped)'' | ''$error'' | ''[]'' | 31 | |
| | | ''private'' | ''(untyped)'' | ''$success'' | ''[]'' | 32 | |
| |
| ======= Methods (9) ======= | ======= Methods (9) ======= |
| |
| ^ Visibility ^ Method ^ Summary ^ Line ^ | ^ Visibility ^ Method ^ Summary ^ Line ^ |
| | public | ''__construct()'' | ExportController constructor. | 39 | | | public | ''__construct()'' | ExportController constructor. | 39 | |
| | protected | ''listItems()'' | List items - not used for export | 49 | | | protected | ''listItems()'' | List items - not used for export | 49 | |
| | public | ''insert()'' | Insert - not used for export | 59 | | | public | ''insert()'' | Insert - not used for export | 59 | |
| | public | ''update()'' | Update - not used for export | 70 | | | public | ''update()'' | Update - not used for export | 70 | |
| | public | ''remove()'' | Remove - not used for export | 81 | | | public | ''remove()'' | Remove - not used for export | 81 | |
| | public | ''index()'' | Render export page | 91 | | | public | ''index()'' | Render export page | 91 | |
| | public | ''export()'' | Handle export request | 113 | | | public | ''export()'' | Handle export request | 113 | |
| | protected | ''setView()'' | Set view | 194 | | | protected | ''setView()'' | Set view | 194 | |
| | private | ''getCurrentAuthorId()'' | Get current author ID from session | 204 | | | private | ''getCurrentAuthorId()'' | Get current author ID from session | 204 | |
| |
| |
| ExportController constructor. | ExportController constructor. |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$exportService'' | [[scriptlog:lib:service:exportservice|''ExportService'']] | //required// | Business logic for export operations | | | ''$exportService'' | [[scriptlog:lib:service:exportservice|''ExportService'']] | //required// | Business logic for export operations | |
| |
| |
| Update - not used for export | Update - not used for export |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$id'' | ''(untyped)'' | ''null'' | //none// | | | ''$id'' | ''(untyped)'' | ''null'' | //none// | |
| |
| **Returns:** ''(none declared)'' — string | **Returns:** ''(none declared)'' — string |
| Remove - not used for export | Remove - not used for export |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$id'' | ''(untyped)'' | ''null'' | //none// | | | ''$id'' | ''(untyped)'' | ''null'' | //none// | |
| |
| **Returns:** ''(none declared)'' — string | **Returns:** ''(none declared)'' — string |
| Set view | Set view |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$_viewName'' | ''(untyped)'' | //required// | //none// | | | ''$_viewName'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| ======= Imports ======= | ======= Imports ======= |
| |
| ^ Alias ^ Fully-qualified name ^ | ^ Alias ^ Fully-qualified name ^ |
| | ''BaseApp'' | [[scriptlog:lib:core:baseapp|''Scriptlog\Core\BaseApp'']] | | | ''BaseApp'' | [[scriptlog:lib:core:baseapp|''Scriptlog\Core\BaseApp'']] | |
| | ''Session'' | [[scriptlog:lib:core:session|''Scriptlog\Core\Session'']] | | | ''Session'' | [[scriptlog:lib:core:session|''Scriptlog\Core\Session'']] | |
| | ''View'' | [[scriptlog:lib:core:view|''Scriptlog\Core\View'']] | | | ''View'' | [[scriptlog:lib:core:view|''Scriptlog\Core\View'']] | |
| | ''ExportService'' | [[scriptlog:lib:service:exportservice|''Scriptlog\Service\ExportService'']] | | | ''ExportService'' | [[scriptlog:lib:service:exportservice|''Scriptlog\Service\ExportService'']] | |
| |
| |