Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:controller:importcontroller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:controller:importcontroller [2026/09/26 09:09] – admin adminscriptlog:lib:controller:importcontroller [2026/09/26 09:34] (current) – admin admin
Line 14: Line 14:
 ======= 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) =======
Line 30: Line 30:
 //None.// //None.//
  
-======= Properties (2) =======+======= Properties (4) =======
  
-  ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ +^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
-  | ''private'' | ''(untyped)'' | ''$error'' | ''[];'' | 42 | +| ''private'' | ''(untyped)'' | ''$migrationService'' |  | 33 | 
-  | ''private'' | ''(untyped)'' | ''$success'' | ''[];'' | 43 |+| ''private'' | ''(untyped)'' | ''$view'' |  | 40 | 
 +| ''private'' | ''(untyped)'' | ''$error'' | ''[]'' | 42 | 
 +| ''private'' | ''(untyped)'' | ''$success'' | ''[]'' | 43 |
  
 ======= Methods (10) ======= ======= Methods (10) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | ImportController constructor. | 50 | +| public | ''__construct()'' | ImportController constructor. | 50 | 
-  | protected | ''listItems()'' | List items - not used for import | 60 | +| protected | ''listItems()'' | List items - not used for import | 60 | 
-  | public | ''insert()'' | Insert - not used for import | 70 | +| public | ''insert()'' | Insert - not used for import | 70 | 
-  | public | ''update()'' | Update - not used for import | 81 | +| public | ''update()'' | Update - not used for import | 81 | 
-  | public | ''remove()'' | Remove - not used for import | 92 | +| public | ''remove()'' | Remove - not used for import | 92 | 
-  | public | ''index()'' | Render import page | 102 | +| public | ''index()'' | Render import page | 102 | 
-  | public | ''import()'' | Handle import request | 124 | +| public | ''import()'' | Handle import request | 124 | 
-  | public | ''preview()'' | Preview import data | 228 | +| public | ''preview()'' | Preview import data | 228 | 
-  | protected | ''setView()'' | Set view | 281 | +| protected | ''setView()'' | Set view | 281 | 
-  | private | ''getCurrentAuthorId()'' | Get current author ID from session | 291 |+| private | ''getCurrentAuthorId()'' | Get current author ID from session | 291 |
  
  
Line 61: Line 63:
 ImportController constructor. ImportController constructor.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$migrationService'' | [[scriptlog:lib:service:migrationservice|''MigrationService'']] | //required// | Business logic for import operations |+|  ''$migrationService'' |  [[scriptlog:lib:service:migrationservice|''MigrationService'']] |  //required// |  Business logic for import operations |
  
  
Line 105: Line 107:
 Update - not used for import Update - not used for import
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | ''null'' | //none// |+|  ''$id'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 121: Line 123:
 Remove - not used for import Remove - not used for import
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | ''null'' | //none// |+|  ''$id'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 182: Line 184:
 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)''
Line 204: Line 206:
 ======= 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'']] | 
-  | ''MigrationService'' | [[scriptlog:lib:service:migrationservice|''Scriptlog\Service\MigrationService'']] |+| ''MigrationService'' | [[scriptlog:lib:service:migrationservice|''Scriptlog\Service\MigrationService'']] |
  
  
scriptlog/lib/controller/importcontroller.1790413759.txt.gz · Last modified: by admin