public function updateUserStoryContent($storyContentId, $title, $content) { $update = new Model_DbTable_UserStoryContent(); $update->updateField($storyContentId, $title, $content); }
public function deleteStory($userstory_id) { $db_userstory = new Model_DbTable_UserStory(); $db_userstory->deleteStory($userstory_id); $db_userstory_content = new Model_DbTable_UserStoryContent(); $db_userstory_content->deleteField($userstory_id); $db_userstory_category = new Model_DbTable_UserStoryRelated(); $db_userstory_category->deleteField($userstory_id); $db_userstory_tag = new Model_DbTable_UserStoryTag(); $db_userstory_tag->deleteField($userstory_id); }