Hooks::setPath PHP Method

setPath() final public method

设置该插件的路径,不能进行重写
final public setPath ( string $path, boolean $html = false )
$path string 路径地址
$html boolean 是否为HTML路径,默认为false
    public final function setPath($path, $html = false)
    {
        if ($html) {
            $this->htmlPath = $path;
        } else {
            $this->path = $path;
        }
    }