Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:blogschema

Differences

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

Link to this comparison view

scriptlog:lib:core:blogschema [2026/09/26 09:09] – admin adminscriptlog:lib:core:blogschema [2026/09/26 09:16] (current) – admin admin
Line 10: Line 10:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core | +| ''@category'' | Core | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT |+| ''@license'' | MIT |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 29: Line 29:
 ======= Methods (3) ======= ======= Methods (3) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public static | ''generateBlogPostSchema()'' | Generate schema.org structured data for a blog post. | 27 | +| public static | ''generateBlogPostSchema()'' | Generate schema.org structured data for a blog post. | 27 | 
-  | protected static | ''determineCreativeWorkType()'' | (undocumented) | 96 | +| protected static | ''determineCreativeWorkType()'' | (undocumented) | 96 | 
-  | private static | ''baseURL()'' | (undocumented) | 108 |+| private static | ''baseURL()'' | (undocumented) | 108 |
  
  
Line 45: Line 45:
 Generate schema.org structured data for a blog post. Generate schema.org structured data for a blog post.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$post'' | ''int'' | //required// | //none// |+|  ''$post'' |  ''int'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string JSON-LD structured data. **Returns:** ''(none declared)'' — string JSON-LD structured data.
Line 59: Line 59:
 //lines 96–106 (11)// //lines 96–106 (11)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$postType'' | ''string'' | //required// | //none// |+|  ''$postType'' |  ''string'' |  //required// |  //none// |
  
 **Returns:** ''string'' **Returns:** ''string''
Line 79: Line 79:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''Schema'' | ''Melbahja\Seo\Schema'' | +| ''Schema'' | ''Melbahja\Seo\Schema'' | 
-  | ''Thing'' | ''Melbahja\Seo\Schema\Thing'' |+| ''Thing'' | ''Melbahja\Seo\Schema\Thing'' |
  
  
scriptlog/lib/core/blogschema.1790413761.txt.gz · Last modified: by admin