method getAppPath documentation in bbn\Appui\Project

Gets the app path

function() { if (!$this->appPath) { // Current project if ($this->name === BBN_APP_NAME) { $this->appPath = bbn\Mvc::getAppPath(); } else { $envs = $this->options->fullOptions('env', $this->id); if (empty($envs)) { throw new \Exception(X::_("Impossible to find environments for option %s", $this->id)); } if ($env = X::getRow($envs, ['type' => BBN_ENV])) { $this->appPath = $env['text']; if (substr($this->appPath, -4) !== 'src/') { $this->appPath .= 'src/'; } } } } return $this->appPath; }

Gets the app path 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.