px-files/_sys/php/px.php
public function path_files_cache( $localpath_resource = null ){
		if( !strlen( @$this->conf()->public_cache_dir ) ){
			return false;
		}
		if( $this->site() !== false ){
			$tmp_page_info = $this->site()->get_current_page_info();
			$path_content = $tmp_page_info['content'];
			unset($tmp_page_info);
		}
		if( @is_null($path_content) ){
			$path_content = $this->req()->get_request_file_path();
		}

		$path_original = $this->get_path_controot().$path_content;
		$path_original = $this->fs()->get_realpath($this->fs()->trim_extension($path_original).'_files/'.$localpath_resource);
		$rtn = $this->get_path_controot().'/'.$this->conf()->public_cache_dir.'/c'.$path_content;
		$rtn = $this->fs()->get_realpath($this->fs()->trim_extension($rtn).'_files/'.$localpath_resource);
		$this->fs()->mkdir_r( dirname( $this->get_realpath_docroot().$rtn ) );

		if( file_exists( $this->get_realpath_docroot().$path_original ) ){
			if( is_dir($this->get_realpath_docroot().$path_original) ){
				$this->fs()->mkdir_r( $this->get_realpath_docroot().$rtn );
			}else{
				$this->fs()->mkdir_r( dirname( $this->get_realpath_docroot().$rtn ) );
			}
			$this->fs()->copy_r( $this->get_realpath_docroot().$path_original, $this->get_realpath_docroot().$rtn );
		}

		$rtn = $this->fs()->normalize_path($rtn);
		$rtn = preg_replace( '/^\/+/', '/', $rtn );
		$this->add_relatedlink($rtn);
		return $rtn;
	}
public function path_files_cache( $localpath_resource = null ){
		if( !strlen( @$this->conf()->public_cache_dir ) ){
			return false;
		}
		if( $this->site() !== false ){
			$tmp_page_info = $this->site()->get_current_page_info();
			$path_content = $tmp_page_info['content'];
			unset($tmp_page_info);
		}
		if( @is_null($path_content) ){
			$path_content = $this->req()->get_request_file_path();
		}

		$path_original = $this->get_path_controot().$path_content;
		$path_original = $this->fs()->get_realpath($this->fs()->trim_extension($path_original).'_files/'.$localpath_resource);
		$rtn = $this->get_path_controot().'/'.$this->conf()->public_cache_dir.'/c'.$path_content;
		$rtn = $this->fs()->get_realpath($this->fs()->trim_extension($rtn).'_files/'.$localpath_resource);
		$this->fs()->mkdir_r( dirname( $this->get_realpath_docroot().$rtn ) );

		if( file_exists( $this->get_realpath_docroot().$path_original ) ){
			if( is_dir($this->get_realpath_docroot().$path_original) ){
				$this->fs()->mkdir_r( $this->get_realpath_docroot().$rtn );
			}else{
				$this->fs()->mkdir_r( dirname( $this->get_realpath_docroot().$rtn ) );
			}
			$this->fs()->copy_r( $this->get_realpath_docroot().$path_original, $this->get_realpath_docroot().$rtn );
		}

		$rtn = $this->fs()->normalize_path($rtn);
		$rtn = preg_replace( '/^\/+/', '/', $rtn );
		$this->add_relatedlink($rtn);
		return $rtn;
	}
ローカルリソースのキャッシュのパスを得る。

ローカルリソースキャッシュディレクトリは、
`$conf->public_cache_dir` の設定により決定されます。

`$conf->public_cache_dir` が設定されていない場合に `false` を返します。

@param string $localpath_resource ローカルリソースのパス
@return string ローカルリソースキャッシュのパス