Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:archiveviewmodel

Differences

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

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:archiveviewmodel [2026/09/26 09:09] – admin adminscriptlog:lib:core:archiveviewmodel [2026/09/26 09:34] (current) – admin admin
Line 15: Line 15:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Theme | +| ''@category'' | Theme | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 |+| ''@version'' | 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
  
-  ^ Relation ^ Type ^ Meaning ^ +^ Relation ^ Type ^ Meaning ^ 
-  | extends | [[scriptlog:lib:core:abstractthemeviewmodel|''AbstractThemeViewModel'']] | parent class/interface |+| extends | [[scriptlog:lib:core:abstractthemeviewmodel|''AbstractThemeViewModel'']] | parent class/interface |
  
 ======= Constants (0) ======= ======= Constants (0) =======
Line 36: Line 36:
 ======= Methods (7) ======= ======= Methods (7) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public static | ''fromRow()'' | Build an archive view model from a prepared row. | 30 | +| public static | ''fromRow()'' | Build an archive view model from a prepared row. | 30 | 
-  | public static | ''fromPrepared()'' | Build an archive view model from already-prepared, already-safe values. | 63 | +| public static | ''fromPrepared()'' | Build an archive view model from already-prepared, already-safe values. | 63 | 
-  | public | ''url()'' | @psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes | 75 | +| public | ''url()'' |  | 75 | 
-  | public | ''label()'' | @psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes | 80 | +| public | ''label()'' |  | 80 | 
-  | public | ''year()'' | @psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes | 85 | +| public | ''year()'' |  | 85 | 
-  | public | ''month()'' | @psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes | 90 | +| public | ''month()'' |  | 90 | 
-  | public | ''count()'' | @psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes | 95 |+| public | ''count()'' |  | 95 |
  
  
Line 59: Line 59:
 layer) OR raw month/year fields that are combined here. layer) OR raw month/year fields that are combined here.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$row'' | ''array'' | //required// | //none// | +|  ''$row'' |  ''array'' |  //required// |  //none// | 
-  | ''$escape'' | ''callable'' | //required// | //none// |+|  ''$escape'' |  ''callable'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — static **Returns:** ''(none declared)'' — static
Line 79: Line 79:
 at the normalization boundary (prepare_archive()) and stored verbatim. at the normalization boundary (prepare_archive()) and stored verbatim.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$prepared'' | ''array'' | //required// | //none// |+|  ''$prepared'' |  ''array'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — static **Returns:** ''(none declared)'' — static
Line 92: Line 92:
  
 //lines 75–78 (4)// //lines 75–78 (4)//
- 
-@psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes 
  
 //Takes no parameters.// //Takes no parameters.//
Line 107: Line 105:
  
 //lines 80–83 (4)// //lines 80–83 (4)//
- 
-@psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes 
  
 //Takes no parameters.// //Takes no parameters.//
Line 122: Line 118:
  
 //lines 85–88 (4)// //lines 85–88 (4)//
- 
-@psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes 
  
 //Takes no parameters.// //Takes no parameters.//
Line 137: Line 131:
  
 //lines 90–93 (4)// //lines 90–93 (4)//
- 
-@psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes 
  
 //Takes no parameters.// //Takes no parameters.//
Line 152: Line 144:
  
 //lines 95–98 (4)// //lines 95–98 (4)//
- 
-@psalm-suppress PossiblyUnusedMethod -- public getter consumed by public/themes 
  
 //Takes no parameters.// //Takes no parameters.//
scriptlog/lib/core/archiveviewmodel.1790413762.txt.gz · Last modified: by admin