Grab the Category IDs of the tree.
public saveUserTree ( integer $CategoryID, mixed $Set ) | ||
$CategoryID | integer | |
$Set | mixed |
/** * Helper function that actually sets the DateMarkedRead column in UserCategory * * @since 2.0 * @access private * * @param CategoryModel $categoryModel * @param int $categoryID */ private function markCategoryRead($categoryModel, $categoryID) { $categoryModel->saveUserTree($categoryID, array('DateMarkedRead' => Gdn_Format::toDateTime())); }