VuFind API Documentation

RelativePathTrait

Trait to detect relative paths in asset sources.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

isRelativePath()  : bool
Is the provided src value a relative path? Returns true if this should be searched within the local theme, or false if it is an absolute path or full URL.

Methods

isRelativePath()

Is the provided src value a relative path? Returns true if this should be searched within the local theme, or false if it is an absolute path or full URL.

protected isRelativePath(string $src) : bool
Parameters
$src : string

Value to check

Return values
bool

Search results