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 podcast category to the blog podcast category table. Takes a field=>value array with blog podcast category data as first argument. Returns insert id.
Removes blog podcast category from the blog podcast categorys table. Takes the blog podcast category id as first argument. Returns amount of affected rows.
Tests given blog podcast category name for uniqueness. Takes the blog podcast category name as first argument and an array with the subcategory name as first element and the optional blog podcast category id as second element.
If the blog podcast category id is given, this blog podcast category won't be considered when checking for uniqueness (useful for updates). Returns boolean true if the combination of blog podcast category and blog podcast category is unique.
int updateBlogPodcastCategory(
int
$id, array
$sqlData)
Updates blog podcast category. Takes the blog podcast category id as first argument, a field=>value array with the new blog podcast category data as second argument.