/** * @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')); }
/** * @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')); }
/** * @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')); } }
/** * @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; }
/** * @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')); }
/** * @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')); }
/** * @param array $talks */ public function __construct(array $talks) { Main::appendScript($this->getUrl('js/view-or-edit-talk.js')); $this->talks = $talks; }
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')); }
/** * @param boolean $hasApprovedTalks */ public function __construct($hasApprovedTalks = false) { $this->hasApprovedTalks = $hasApprovedTalks; Main::appendScript($this->getUrl('js/talks/schedule.js')); }
/** * @param boolean $readOnly */ public function __construct($readOnly) { $this->readOnly = $readOnly; Main::appendScript($this->getUrl('js/vendor/selectize.min.js')); }
/** * @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; }
public function __construct() { Main::appendScript($this->getUrl('js/supporters.list.js')); Main::appendScript($this->getUrl('js/sponsors.list.js')); }