function updateCategory2() { $id = get_post_value('id'); $category2 = new Category(); $category2Date = $category2->getcategory2UpdateDate($id); if ($category2Date) { $this->assign('category2Date', $category2Date); } }