Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 94 |
| HallTicketsGenerator | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
930.00 | |
0.00% |
0 / 94 |
| __construct | |
0.00% |
0 / 1 |
870.00 | |
0.00% |
0 / 92 |
|||
| getHallTicketsResultData | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 2 |
|||
| <?php | |
| namespace com\linways\ec\core\service\HallTicketsGenerator; | |
| use com\linways\ec\core\service\StudentMarkListService; | |
| use com\linways\base\util\MakeSingletonTrait; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template1HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template2HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template3HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template4HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\TemplateAMITHallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template6HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template7HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template8HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template9HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template10HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template11HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template12HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template13HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template15HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template16HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template17HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template19HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template20HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template23HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template24HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template25HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template27HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template26HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template22HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template28HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template30HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template32HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template31HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template33HallTicketsGenerator; | |
| use com\linways\ec\core\service\HallTicketsGenerator\Template34HallTicketsGenerator; | |
| class HallTicketsGenerator{ | |
| use MakeSingletonTrait; | |
| private $HallTicketsResultDataGenerator; | |
| public function __construct(){ | |
| $examType = 'EC_HALL_TICKET_TEMPLATE'; | |
| $hallticketTemplate = StudentMarkListService::getInstance()->getUniversityMarkListTemplate($examType); | |
| switch ($hallticketTemplate) { | |
| case 'Template_1': | |
| // MES VIMALA STJOSEPH Colleges | |
| $this->HallTicketsResultDataGenerator = new Template1HallTicketsGenerator(); | |
| break; | |
| case 'Template_2': | |
| // Christ College | |
| $this->HallTicketsResultDataGenerator = new Template2HallTicketsGenerator(); | |
| break; | |
| case 'Template_3': | |
| // SB College | |
| $this->HallTicketsResultDataGenerator = new Template3HallTicketsGenerator(); | |
| break; | |
| case 'Template_4': | |
| // MA College | |
| $this->HallTicketsResultDataGenerator = new Template4HallTicketsGenerator(); | |
| break; | |
| case 'Template_6': | |
| // SAINTGITS Colleges | |
| $this->HallTicketsResultDataGenerator = new Template6HallTicketsGenerator(); | |
| break; | |
| // case 'Template_6': | |
| // // AIMIT College | |
| // $this->HallTicketsResultDataGenerator = new TemplateAMITHallTicketsGenerator(); | |
| // break; | |
| case 'Template_7': | |
| // SAC College | |
| $this->HallTicketsResultDataGenerator = new Template7HallTicketsGenerator(); | |
| break; | |
| case 'Template_8': | |
| // IIIC College | |
| $this->HallTicketsResultDataGenerator = new Template8HallTicketsGenerator(); | |
| break; | |
| case 'Template_9': | |
| // SJC College | |
| $this->HallTicketsResultDataGenerator = new Template9HallTicketsGenerator(); | |
| break; | |
| case 'Template_10': | |
| // SJCE College | |
| $this->HallTicketsResultDataGenerator = new Template10HallTicketsGenerator(); | |
| break; | |
| case 'Template_12': | |
| // SJCE College | |
| $this->HallTicketsResultDataGenerator = new Template12HallTicketsGenerator(); | |
| break; | |
| case 'Template_13': | |
| // ASSUMPTION College | |
| $this->HallTicketsResultDataGenerator = new Template13HallTicketsGenerator(); | |
| break; | |
| case 'Template_15': | |
| // SJCE College | |
| $this->HallTicketsResultDataGenerator = new Template15HallTicketsGenerator(); | |
| break; | |
| case 'Template_16': | |
| // VES College | |
| $this->HallTicketsResultDataGenerator = new Template16HallTicketsGenerator(); | |
| break; | |
| case 'Template_17': | |
| // SCMS College | |
| $this->HallTicketsResultDataGenerator = new Template17HallTicketsGenerator(); | |
| break; | |
| case 'Template_19': | |
| // MAJILIS College | |
| $this->HallTicketsResultDataGenerator = new Template19HallTicketsGenerator(); | |
| break; | |
| case 'Template_20': | |
| // PRESIDENCY College | |
| $this->HallTicketsResultDataGenerator = new Template20HallTicketsGenerator(); | |
| break; | |
| case 'Template_23': | |
| // Providence College | |
| $this->HallTicketsResultDataGenerator = new Template23HallTicketsGenerator(); | |
| break; | |
| case 'Template_24': | |
| // MAR IVANIOUS College | |
| $this->HallTicketsResultDataGenerator = new Template24HallTicketsGenerator(); | |
| break; | |
| case 'Template_25': | |
| // St Claret College | |
| $this->HallTicketsResultDataGenerator = new Template25HallTicketsGenerator(); | |
| break; | |
| case 'Template_27': | |
| // St Marys Thrissur College | |
| $this->HallTicketsResultDataGenerator = new Template27HallTicketsGenerator(); | |
| break; | |
| case 'Template_26': | |
| // ST Josephs Devagiri College | |
| $this->HallTicketsResultDataGenerator = new Template26HallTicketsGenerator(); | |
| break; | |
| case 'Template_22': | |
| // ST Thomas Pala COllege STCP | |
| $this->HallTicketsResultDataGenerator = new Template22HallTicketsGenerator(); | |
| break; | |
| case 'Template_28': | |
| // Ramaiah College | |
| $this->HallTicketsResultDataGenerator = new Template28HallTicketsGenerator(); | |
| break; | |
| case 'Template_30': | |
| // ST Anns College Andrapradesh | |
| $this->HallTicketsResultDataGenerator = new Template30HallTicketsGenerator(); | |
| break; | |
| case 'Template_32': | |
| // JAWAHARLAL COLLEGE Colleges | |
| $this->HallTicketsResultDataGenerator = new Template32HallTicketsGenerator(); | |
| break; | |
| case 'Template_31': | |
| // PRESIDENCY UNIVERSITY | |
| $this->HallTicketsResultDataGenerator = new Template31HallTicketsGenerator(); | |
| break; | |
| case 'Template_33': | |
| // Loyola College | |
| $this->HallTicketsResultDataGenerator = new Template33HallTicketsGenerator(); | |
| break; | |
| case 'Template_34': | |
| // LEAD College | |
| $this->HallTicketsResultDataGenerator = new Template34HallTicketsGenerator(); | |
| break; | |
| default: | |
| $this->HallTicketsResultDataGenerator = new Template1HallTicketsGenerator(); | |
| break; | |
| } | |
| } | |
| public function getHallTicketsResultData($request){ | |
| return $this->HallTicketsResultDataGenerator->getHallTicketsResultData($request); | |
| } | |
| } | |