PHP Class Inpsyde\MultilingualPress\Core\CachingBasePathAdapter

Provides access to the correct basedir and baseurl paths of the current site's uploads folder.
Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Common\BasePathAdapter
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
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.

Private Methods

Method Description
get_uploads_dir ( ) : string[] Returns the current site's uploads folder paths.

Method Details

basedir() public method

Returns the correct basedir path of the current site's uploads folder.
Since: 3.0.0
public basedir ( ) : string
return string The correct basedir path of the current site's uploads folder.

baseurl() public method

Returns the correct baseurl path of the current site's uploads folder.
Since: 3.0.0
public baseurl ( ) : string
return string The correct baseurl path of the current site's uploads folder.