src/Classes/Module.php
public function addPlugin($file)
    {
        $path = $this->mediaPath . 'plugins/';
        $this->assign->addJS($path . $file . '/' . $file . '.min.js', true);
        $this->assign->addCSS($path . $file . '/' . $file . '.css', true);
    }
public function addPlugin($file)
    {
        $path = $this->mediaPath . 'plugins/';
        $this->assign->addJS($path . $file . '/' . $file . '.min.js', true);
        $this->assign->addCSS($path . $file . '/' . $file . '.css', true);
    }
public function addPlugin ( $ file ) { $ path = $ this -> mediaPath . 'plugins/' ; $ this -> assign -> addJS ( $ path . $ file . '/' . $ file . '.min.js' , true ) ; $ this -> assign -> addCSS ( $ path . $ file . '/' . $ file . '.css' , true ) ; }
add plugin file for module
@param $files
add plugin file for module