/** * Creates a blog channel * * @param array Array of input * * @return array */ public function createBlog($input) { $this->canCreateBlog($this->getBlogChannel()); // check that 'auto_subscribe_on_join' is set, in case this didn't come through the createcontent controller if (!isset($input['auto_subscribe_on_join'])) { $input['auto_subscribe_on_join'] = 1; } return $this->createChannel($input, $this->getBlogChannel(), vB_Page::getBlogConversPageTemplate(), vB_Page::getBlogChannelPageTemplate(), vB_Api_UserGroup::CHANNEL_OWNER_SYSGROUPID); }
public function createBlog($input) { return $this->createChannel($input, $this->getBlogChannel(), vB_Page::getBlogConversPageTemplate(), vB_Page::getBlogChannelPageTemplate(), vB_Api_UserGroup::CHANNEL_OWNER_SYSGROUPID); }