Example #1
0
 /**
  * Return common data to send to JS
  *
  * @return array
  */
 protected function getCommonJSData()
 {
     $data = parent::getCommonJSData();
     if (!\XLite::isAdminZone()) {
         $data += $this->getCloudSearchInitData();
     }
     return $data;
 }