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());
 }