Subject Didactics and their Basic Functions