Set the strip path.

@param string|null $stripPath the absolute strip path

@return void
338951
public function setStripPath($stripPath)
    {
        $stripPathRegex = $stripPath ? '/^'.preg_quote($stripPath, '/').'[\\/]?/i' : null;
        $this->setStripPathRegex($stripPathRegex);
    }
173654
protected function setSourcePath($path)
    {
        if ($this->sourcePath === self::BASE_PATH) {
            $this->sourcePath = $path;
        } elseif ($this->sourcePath === self::EMPTY_PATH) {
            $this->sourcePath = null;
        }
    }
980326
public function ignorePath($ignorePath = null)
    {
        if (!func_num_args()) {
            return $this->_ignorePath;
        }
        $this->_ignorePath = $ignorePath;
        $this->basePath($this->_basePathTmp);
        return $this;
    }
498336
public function setPath(string $path)
    {
        $this->path = $path;
        
        // update path to templates and preload list of templates.
        $this->contentPath = $this->path . DIR_CONTENT_BASENAME;
        $this->templatesPath = $this->contentPath . DIR_TEMPLATES_BASENAME;
        
        $this->templates = File::listFilesRecursively($this->templatesPath, false, EXT_PART, EXT_PAGE);
    }
1145987
protected function _setPreviewDir($path = null) {
		$path = (string)$path;
		if (file_exists($path)) {
			$this->_pathPreviewDir = $path;
		}
	}
1215023
public function setPath(string $path = ''): void
    {
        $this->path = '/';
        if ($path != '') {
            $this->path .= \substr($path, 0, 1) === '/' ? \substr($path, 1) : $path;
        }
    }
29151
public function setPath($path)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        $this->createPathElement()->setPath($path);
    }
412009
public function setCachePath($path = null)
    {
        if (is_null($path)) {
            $this->path = __DIR__;
        } else {
            $this->path = filter_var($path, FILTER_SANITIZE_STRING);
        }
    }
172754
public function setFilePath($filePath)
    {
        $this->isURI = false;
        $this->filePath = trim($filePath);

        $this->content = null;
        return $this;
    }
828256
function set_path($config_path)
	{
		if (!empty($config_path)) {
			if (!is_string($config_path) || !file_exists($config_path) || !is_dir($config_path)) {
				$this->_trigger_error_msg("Bad config file path '$config_path'");
				return;
			}
			if(substr($config_path, -1) != DIRECTORY_SEPARATOR) {
				$config_path .= DIRECTORY_SEPARATOR;
			}

			$this->_config_path = $config_path;
		}
	}
1012377
public function setCachePath(string $cachePath)
    {
        $this->cachePath = $cachePath;
        if (!is_dir($this->cachePath)) {
            FileHelper::createDirectory($this->cachePath, $this->dirMode, true);
        }
    }
830463
protected static function setPath($path = null)
    {
        if (!static::$pathStack) {
            $requestURI = parse_url($_SERVER['REQUEST_URI']);
            static::$pathStack = static::$requestPath = explode('/', ltrim($requestURI['path'], '/'));
        }
    
        static::$_path = isset($path) ? $path : static::$pathStack;
    }
836691
public function updatePath($oldPath, $newPath)
    {
        if ($this->contains($oldPath)) {
            $this->items[$newPath] = $this->items[$oldPath];
            unset($this->items[$oldPath]);
        }
    }
1336871
public function compile( $path = null )
	{
		if ( $path )
			$this->setPath( $path );

		if ( !is_null( $this->cachePath ) )
		{
			$contents = $this->compileString( $this->files->get( $this->getPath() ) );
			$this->files->put( $this->getCompiledPath( $this->getPath() ), $contents );
		}
	}
29782
private function initialize(string $path) : void
    {
        Assert::notNullAndEmpty($path, "Path for Property path can't be empty");

        $path = str_replace(["'", "\""], "", $path);

        $this->path = $path;
    }
1178976
public function createController ($stripPath = NULL)
	{
		
		// Instantiate controller
		
		$controllerObj		= new $this->controller;
		
		// Set controller variables from the url processor
		
		$controllerObj->controller	= $this->controller;
		$controllerObj->action		= $this->action;
		
		// Strip initial path from controller
		
		if ($stripPath && substr ($controllerObj->controller, 0, strlen ($stripPath)) == $stripPath)
		{
			$controllerObj->controller = substr ($controllerObj->controller, strlen ($stripPath));
		}
		
		// Return controller object
		
		return $controllerObj;
		
	}
719462
public function attributeRequired($path = null, $strip = true)
    {
        return $this->arrRequired($this->attributes(), $path, $strip);
    }