function init() { parent::init(); Requirements::javascript("marketplace/code/ui/frontend/js/marketplace.common.js"); $this->review_repository = new SapphireReviewRepository(); $this->review_manager = new ReviewManager(new SapphireReviewRepository(), new SapphireJobAlertEmailRepository(), new ReviewFactory(), SapphireTransactionManager::getInstance()); }
function init() { parent::init(); Requirements::css("marketplace/code/ui/frontend/css/marketplace.landing.css"); Requirements::javascript(Director::protocol() . "maps.googleapis.com/maps/api/js?sensor=false"); Requirements::combine_files('marketplace_landing.js', array("marketplace/code/ui/frontend/js/markerclusterer.js", "marketplace/code/ui/frontend/js/oms.min.js", "marketplace/code/ui/frontend/js/infobubble-compiled.js", "marketplace/code/ui/frontend/js/google.maps.jquery.js", "marketplace/code/ui/frontend/js/landing.page.js")); $this->public_cloud_repository = new SapphirePublicCloudRepository(); }
function init() { parent::init(); Requirements::css("marketplace/code/ui/frontend/css/marketplace.landing.css"); $this->InitGoogleMapLibs(); Requirements::combine_files('marketplace_landing.js', array("marketplace/code/ui/frontend/js/landing.page.js")); $this->public_cloud_repository = new SapphirePublicCloudRepository(); }