method getSystemPath documentation in bbn\File\System
function(string $file, bool $is_absolute = true)
{
// The full path without the obj prefix, and if it's not absolute we remove the initial slash
switch ($this->mode) {
case 'nextcloud':
return $this->obj->getSystemPath($file, $is_absolute);
case 'webdav':
return $file;
default:
$file = substr($file, strlen($this->prefix) + ($is_absolute ? 0 : 1));
if (!$is_absolute && $this->current) {
$file = substr($file, strlen($this->current));
}
return $file;
}
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions