Cockpit\Controller\Settings::saveGmapsKey PHP Метод

saveGmapsKey() публичный Метод

public saveGmapsKey ( )
    public function saveGmapsKey()
    {
        $gmapskey = $this->param("key", "");
        $this->app->db->setKey("cockpit/settings", "cockpit.gmaps.key", (string) $gmapskey);
        return ["success" => true];
    }