method
public
DirectoryEntry::getPath()
Сигнатура
public getPath() : string
Возвращаемое значение
string
Как применяется в DirectoryEntry
DirectoryEntry::getPath() — метод класса \Bitrix\Main\Engine\Response\Zip\DirectoryEntry модуля «Главный модуль».
Метод объекта: сначала нужен экземпляр DirectoryEntry.
use Bitrix\Main\Engine\Response\Zip\DirectoryEntry;
/** @var DirectoryEntry $object */
$result = $object->getPath();
// $result: stringДругие методы DirectoryEntry
getPath() есть и у других классов модуля «Главный модуль»: ArchiveEntry, BFile, Cache, ContentUri, Directory, DirectoryEntry, EntryInterface, File.
Исходный файл: source/main/lib/engine/response/zip/directoryentry.php:22

