protected static function setNewParams($type, $place, $hash, $url, $ext)
    {
        $data = [
            'name' => self::$id,
            'url' => $url . $hash . $ext,
            'attr' => self::unifyParams($type, 'attr'),
            'version' => self::unifyParams($type, 'version', '1.0.0'),
        ];

        if ($type === 'script') {
            $data['footer'] = self::unifyParams($type, 'footer', false);
        }

        self::$data[$type][$place] = [$data['name'] => $data];

        return true;
    }
protected static function setNewParams($type, $place, $hash, $url, $ext)
    {
        $data = [
            'name' => self::$id,
            'url' => $url . $hash . $ext,
            'attr' => self::unifyParams($type, 'attr'),
            'version' => self::unifyParams($type, 'version', '1.0.0'),
        ];

        if ($type === 'script') {
            $data['footer'] = self::unifyParams($type, 'footer', false);
        }

        self::$data[$type][$place] = [$data['name'] => $data];

        return true;
    }
protected static function setNewParams ( $ type , $ place , $ hash , $ url , $ ext ) { $ data = [ 'name' => self :: $ id , 'url' => $ url . $ hash . $ ext , 'attr' => self :: unifyParams ( $ type , 'attr' ) , 'version' => self :: unifyParams ( $ type , 'version' , '1.0.0' ) , ] ; if ( $ type === 'script' ) { $ data [ 'footer' ] = self :: unifyParams ( $ type , 'footer' , false ) ; } self :: $ data [ $ type ] [ $ place ] = [ $ data [ 'name' ] => $ data ] ; return true ; }
Set new parameters for the unified file.

@since 1.1.5

@param string $type      → script|style
@param string $place     → header|footer
@param string $hash      → filename hash
@param string $url       → path url
@param string $extension → file extension

@return bool true
Set new parameters for the unified file .