method __construct documentation in bbn\Api\Cloudmintest

virtualmin constructor.

function(array $cfg) { $this->user = $cfg['user']; $this->pass = $cfg['pass']; // TODO ho rimpiazzato //$this->mode = $cfg['mode'] === 'cloudmin' ? 'cloudmin' : 'virtualmin'; $this->mode = $mode; $this->hostname = isset($cfg['host']) ? $cfg['host'] : 'localhost'; $this->checked = true; // TODO tolto la cache e this->commands = $this->fetch_commands } }

virtualmin constructor. 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.