src/Classes/Module.php
public function addCSS($files)
    {
        if (!is_array($files))
            $files = [$files];
        foreach ($files as $key => $file)
        {
            $files[$key] = $this->mediaPath . 'css/' . $file;
        }
        $this->assign->addCSS($files, true);
    }
public function addCSS($files)
    {
        if (!is_array($files))
            $files = [$files];
        foreach ($files as $key => $file)
        {
            $files[$key] = $this->mediaPath . 'css/' . $file;
        }
        $this->assign->addCSS($files, true);
    }
public function addCSS ( $ files ) { if ( ! is_array ( $ files ) ) $ files = [ $ files ] ; foreach ( $ files as $ key => $ file ) { $ files [ $ key ] = $ this -> mediaPath . 'css/' . $ file ; } $ this -> assign -> addCSS ( $ files , true ) ; }
add css file for module
@param $files
add css file for module