scriptlog:public:render-comments
This is an old revision of the document!
Table of Contents
public/themes/blog/render-comments.php
Source: public/themes/blog/render-comments.php · 43 lines, ~88 statements · namespace: (global) · `declare(strict_types=1)`: no
Render the HTML for the comments section with Bootstrap 4.6 styling.
Functions (1)
^ Function ^ Line ^ Params ^ Returns ^ Summary ^ | ''render_comments_section'' | 10 | 2 | ''string'' | Render the HTML for the comments section with Bootstrap 4.6 styling. |
render_comments_section()
public function render_comments_section(int $postId, int $offset = 0): string
Render the HTML for the comments section with Bootstrap 4.6 styling.
^ Parameter ^ Type ^ Default ^ Description ^ | ''$postId'' | ''int'' | //required// | The ID of the post to load comments for. | | ''$offset'' | ''int'' | ''0'' | Optional offset for paginated comment loading. |
Generated by 'tools/gendoc'.
scriptlog/public/render-comments.1790413764.txt.gz · Last modified: by admin
