Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
Adds blog comment status to the blog comment status table. Takes a field=>value array with blog comment status data as first argument. Returns insert id.
Tests given blog comment status name for uniqueness. Takes the blog comment status name as first argument and an optional blog comment status id as second argument.
If the blog comment status id is given, this blog comment status won't be considered when checking for uniqueness (useful for updates). Returns boolean true if blog comment status name is unique.
int updateBlogCommentStatus(
int
$id, array
$sqlData)
Updates blog comment status. Takes the blog comment status id as first argument, a field=>value array with the new blog comment status data as second argument.