コード例 #1
0
 private function CreateActivity($activityCode, $activityName)
 {
     if (CBPActivity::IncludeActivityFile($activityCode)) {
         return CBPActivity::CreateInstance($activityCode, $activityName);
     } else {
         throw new Exception('Activity is not found.');
     }
 }