Pimcore\Model\Asset::getFileSystemPath PHP 메소드

getFileSystemPath() 공개 메소드

Get full path to the asset on the filesystem
public getFileSystemPath ( ) : string
리턴 string
    public function getFileSystemPath()
    {
        return PIMCORE_ASSET_DIRECTORY . $this->getRealFullPath();
    }

Usage Example

예제 #1
0
 /**
  * Get size of file in bytes
  *
  * @return integer
  */
 function getSize()
 {
     return filesize($this->asset->getFileSystemPath());
 }