예제 #1
0
 /**
  * render the gigModal into a view
  */
 public function gigModal()
 {
     $mh = new ModalWindow('gigModal');
     $mh->dataAttribute = 'data-gig-id';
     $mh->loadFunctionName = 'loadGig';
     $mh->ajaxRoute = base_url() . 'modal/gig/show/';
     $mh->title = 'Gig';
     $mh->icon = 'fa-bullhorn';
     $this->load->view('partials/modal/wrapper', $mh->getData());
 }
예제 #2
0
 /**
  * render the gigModal into a view
  */
 public function venueModal()
 {
     $mh = new ModalWindow('venueModal');
     $mh->dataAttribute = 'data-venue-id';
     $mh->loadFunctionName = 'loadVenue';
     $mh->ajaxRoute = base_url() . 'modal/venue/show/';
     $mh->title = 'Venue';
     $mh->icon = 'fa-globe';
     $this->load->view('partials/modal/wrapper', $mh->getData());
 }
예제 #3
0
 /**
  * render the gigModal into a view
  */
 public function personModal()
 {
     $mh = new ModalWindow('personModal');
     $mh->dataAttribute = 'data-person-id';
     $mh->loadFunctionName = 'loadPerson';
     $mh->ajaxRoute = base_url() . 'modal/person/show/';
     $mh->title = 'Person';
     $mh->icon = 'fa-user';
     $this->load->view('partials/modal/wrapper', $mh->getData());
 }