예제 #1
0
 function execute(CommandContext $context)
 {
     $details = new \events\DetailView();
     $details->setEventID($context->get('details'));
     $context->setContent($details->show());
 }
예제 #2
0
 function execute(CommandContext $context)
 {
     $edit = new \events\EditView();
     $edit->setEventID($context->get('edit'));
     $context->setContent($edit->show());
 }
예제 #3
0
 function execute(CommandContext $context)
 {
     $home = new \events\GuestView();
     $context->setContent($home->show());
 }