method getSystemPath documentation in bbn\File\System2
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
if ( $this->mode === 'nextcloud' ){
return $file = substr($file, strlen($this->prefix) + ($is_absolute ? 0 : 1) -1 );
}
$file = substr($file, strlen($this->prefix) + ($is_absolute ? 0 : 1));
if ( !$is_absolute && isset($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