PHP Класс Inpsyde\MultilingualPress\Core\CachingBasePathAdapter

Provides access to the correct basedir and baseurl paths of the current site's uploads folder.
С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Common\BasePathAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
basedir ( ) : string Returns the correct basedir path of the current site's uploads folder.
baseurl ( ) : string Returns the correct baseurl path of the current site's uploads folder.

Приватные методы

Метод Описание
get_uploads_dir ( ) : string[] Returns the current site's uploads folder paths.

Описание методов

basedir() публичный Метод

Returns the correct basedir path of the current site's uploads folder.
С версии: 3.0.0
public basedir ( ) : string
Результат string The correct basedir path of the current site's uploads folder.

baseurl() публичный Метод

Returns the correct baseurl path of the current site's uploads folder.
С версии: 3.0.0
public baseurl ( ) : string
Результат string The correct baseurl path of the current site's uploads folder.