Ejemplo n.º 1
0
 public function getFileContents()
 {
     $customJS = $this->javascript;
     $events = $this->getEventJavascript();
     if ($events != "") {
         $customJS[] = $events;
     }
     return string_array_to_string(fusion_arrays($this->pluginJavascript, $customJS));
 }
Ejemplo n.º 2
0
 public function getFileContents()
 {
     $output = string_array_to_string($this->pluginCss);
     $output .= $this->renderCss($this->common);
     $output .= "@media (max-width: 768px) {" . $this->renderCss($this->mobile) . "}";
     $output .= "@media (min-width: 768px) and (max-width: 1200px) {" . $this->renderCss($this->tablet) . "}";
     $output .= "@media (min-width: 992px) and (max-width: 1920px) {" . $this->renderCss($this->desktop) . "}";
     $output .= "@media (min-width: 1920) {" . $this->renderCss($this->ultra) . "}";
     return $output;
 }