method getLangsIds documentation in bbn\Appui\Project

Returns an array including the ids of the languages for which the project is configured or creates the options for the configured languages

( the arraay contains the id_alias of the options corresponding to the real option of the language)

function() { $ids = []; $res = []; $this->options->deleteCache($this->id, true); if ($this->check() && isset($this->id_langs)) { if ($ids = array_keys($this->options->options($this->id_langs))) { foreach ($ids as $i) { if (!empty($this->options->alias($i))) { $res[] = $this->options->alias($i); } } return $res; } } return $res; }

Returns an array including the ids of the languages for which the project is configured or creates the options for the configured languages 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.