Ejemplo n.º 1
0
 function __construct()
 {
     $posts = PostHelper::checkClean($_POST);
     self::$startDate = PostHelper::getStartDate($posts);
     self::$emails = PostHelper::getEmails($posts);
     self::$doEmployee10 = count(self::$emails) > 1 ? true : false;
     //      echo '<pre>';
     $submitType = PostHelper::getSubmitType($posts);
     switch ($submitType) {
         case "10-1":
             self::$events['ev10-1'] = self::setTen(1);
         case "10-2":
             self::$events['ev10-2'] = self::setTen(2);
         case "20":
             self::setIcs20($posts);
     }
     /*self::setIcs20($posts);
       self::$events['ev10-1']  = self::setTen(1);
       self::$events['ev10-2']  = self::setTen(2);*/
 }