function updateCategory3() { $id = get_post_value('id'); $category3 = new Category(); $category3Date = $category3->getcategory3UpdateDate($id); if ($category3Date) { $this->assign('category3Date', $category3Date); } }