Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:public:functions-comments

Differences

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

Link to this comparison view

scriptlog:public:functions-comments [2026/09/26 09:09] – admin adminscriptlog:public:functions-comments [2026/09/26 09:17] (current) – admin admin
Line 16: Line 16:
 ======= Functions (3) ======= ======= Functions (3) =======
  
-  ^ Function ^ Line ^ Params ^ Returns ^ Summary ^ +^ Function ^ Line ^ Params ^ Returns ^ Summary ^ 
-  | ''total_comment'' | 22 | 1 |  | total_comment() - Get total approved comments for post | +| ''total_comment'' | 22 | 1 |  | total_comment() - Get total approved comments for post | 
-  | ''block_csrf'' | 42 | 0 |  | block_csrf() - Generate CSRF token for comment form | +| ''block_csrf'' | 42 | 0 |  | block_csrf() - Generate CSRF token for comment form | 
-  | ''render_comments_section'' | 55 | 2 | ''string'' | render_comments_section() - Render comments section HTML |+| ''render_comments_section'' | 55 | 2 | ''string'' | render_comments_section() - Render comments section HTML |
  
  
Line 32: Line 32:
 total_comment() - Get total approved comments for post total_comment() - Get total approved comments for post
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// |  |+|  ''$id'' |  ''(untyped)'' |  //required// |   |
  
  
Line 57: Line 57:
 render_comments_section() - Render comments section HTML render_comments_section() - Render comments section HTML
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$postId'' | ''int'' | //required// |  | +|  ''$postId'' |  ''int'' |  //required// |   | 
-  | ''$offset'' | ''int'' | ''0'' |  |+|  ''$offset'' |  ''int'' |  ''0'' |   |
  
  
scriptlog/public/functions-comments.1790413764.txt.gz · Last modified: by admin