Example #1
0
 /**
  * @param array $talks
  * @param string $shareUrl
  * @param int $likesCount
  */
 public function __construct(array $talks, $shareUrl, $likesCount)
 {
     $this->talks = $talks;
     $this->shareUrl = $shareUrl;
     $this->likesCount = $likesCount;
     Main::appendScript($this->getUrl('js/submissions.feedback.js'));
 }
Example #2
0
 /**
  * @param TalkManagementService $talkService
  * @param RegistrationCostCalculator $costCalculator
  */
 public function __construct(TalkManagementService $talkService, RegistrationCostCalculator $costCalculator)
 {
     $this->talkService = $talkService;
     $this->costCalculator = $costCalculator;
     Main::appendScript($this->getUrl('js/vendor/jquery.price_format.2.0.min.js'));
     Main::appendScript($this->getUrl('js/attendee.create.js'));
 }
Example #3
0
 /**
  * @param User $user
  */
 public function __construct(User $user)
 {
     $this->user = $user;
     if ($this->isFirstAccess()) {
         Main::appendScript($this->getUrl('js/user.create.js'));
     } else {
         Main::appendScript($this->getUrl('js/user.edit.js'));
     }
 }
Example #4
0
 /**
  * @param array $supporters
  */
 public function __construct(array $supporters)
 {
     Main::appendScript($this->getUrl('js/vendor/jquery.form.min.js'));
     Main::appendScript($this->getUrl('js/adm/supporter/window.js'));
     $this->supporters = $supporters;
 }
Example #5
0
 /**
  * @param array $talks
  */
 public function __construct(array $talks)
 {
     $this->talks = $talks;
     Main::appendScript($this->getUrl('js/vendor/jquery.form.min.js'));
     Main::appendScript($this->getUrl('js/adm/talk/window.js'));
 }
Example #6
0
 /**
  * @param Talk $talk
  */
 public function __construct(Talk $talk = null)
 {
     $this->talk = $talk ?: new Talk();
     Main::appendScript($this->getUrl('js/talk.create.js'));
     Main::appendScript($this->getUrl('js/vendor/selectize.min.js'));
 }
 /**
  * @param Attendee $attendee
  */
 public function __construct(Attendee $attendee)
 {
     $this->attendee = $attendee;
     Main::appendScript($this->getUrl('js/registration.resendPayment.js'));
 }
Example #8
0
 /**
  * @param array $talks
  */
 public function __construct(array $talks)
 {
     Main::appendScript($this->getUrl('js/view-or-edit-talk.js'));
     $this->talks = $talks;
 }
Example #9
0
 public function __construct()
 {
     Main::appendScript('http://maps.googleapis.com/maps/api/js?sensor=false');
     Main::appendScript($this->getUrl('js/gmaps.js'));
     Main::appendScript($this->getUrl('js/venue.map.js'));
 }
Example #10
0
 /**
  * @param boolean $hasApprovedTalks
  */
 public function __construct($hasApprovedTalks = false)
 {
     $this->hasApprovedTalks = $hasApprovedTalks;
     Main::appendScript($this->getUrl('js/talks/schedule.js'));
 }
Example #11
0
 /**
  * @param boolean $readOnly
  */
 public function __construct($readOnly)
 {
     $this->readOnly = $readOnly;
     Main::appendScript($this->getUrl('js/vendor/selectize.min.js'));
 }
Example #12
0
 /**
  * @param array $attendees
  */
 public function __construct(array $attendees)
 {
     Main::appendScript($this->getUrl('js/vendor/jquery.form.min.js'));
     Main::appendScript($this->getUrl('js/adm/credentialing/grid.js'));
     $this->attendees = $attendees;
 }
Example #13
0
 public function __construct()
 {
     Main::appendScript($this->getUrl('js/supporters.list.js'));
     Main::appendScript($this->getUrl('js/sponsors.list.js'));
 }