public getPostTags ( integer $postId ) : array | ||
$postId | integer | |
리턴 | array |
public function getPostTags(int $postId) : array
{
return $this->db->run('SELECT
t.tagid,
t.slug,
t.name
FROM
hull_blog_post_tags j
JOIN hull_blog_tags t
ON j.tagid = t.tagid
WHERE j.postid = ?
ORDER BY t.name ASC
', $postId);
}