ServicePost
in package
Outputs html for a single service post.
Tags
Table of Contents
Properties
- $post_id : int
- The ID of the service post.
Methods
- __construct() : mixed
- Constructor method.
- render() : mixed
- Renders the post content.
Properties
$post_id
The ID of the service post.
public
int
$post_id
Methods
__construct()
Constructor method.
public
__construct(int $post_id) : mixed
Parameters
- $post_id : int
-
The ID of the service post.
Tags
render()
Renders the post content.
public
render() : mixed