/**
  * Load your component.
  *
  * @param \Cx\Core\ContentManager\Model\Entity\Page $page       The resolved page
  */
 public function load(\Cx\Core\ContentManager\Model\Entity\Page $page)
 {
     global $subMenuTitle, $_CORELANG, $objTemplate;
     switch ($this->cx->getMode()) {
         case \Cx\Core\Core\Controller\Cx::MODE_FRONTEND:
             $market = new Market(\Env::get('cx')->getPage()->getContent());
             \Env::get('cx')->getPage()->setContent($market->getPage());
             break;
         case \Cx\Core\Core\Controller\Cx::MODE_BACKEND:
             $this->cx->getTemplate()->addBlockfile('CONTENT_OUTPUT', 'content_master', 'LegacyContentMaster.html');
             $objTemplate = $this->cx->getTemplate();
             \Permission::checkAccess(98, 'static');
             $subMenuTitle = $_CORELANG['TXT_CORE_MARKET_TITLE'];
             $objMarket = new MarketManager();
             $objMarket->getPage();
             break;
     }
 }