public function getAllDatabasesActivity():Renderer
    {
        $file = (array) JL::open(FEnv::get("framework.config.db.file"));
        foreach ($file as $one => $val) {
            $val->remove = $this->generateRoute(
                "iumio_manager_databases_manager_remove",
                array("dbconfiguration" => $one),
                null,
                true
            );
            $val->edit = $this->generateRoute(
                "iumio_manager_databases_manager_edit",
                array("dbconfiguration" => $one),
                null,
                true
            );
            $val->edit_save = $this->generateRoute(
                "iumio_manager_databases_manager_edit_save",
                array("dbconfiguration" => $one),
                null,
                true
            );
        }

        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $file)));
    }
public function getAllDatabasesActivity():Renderer
    {
        $file = (array) JL::open(FEnv::get("framework.config.db.file"));
        foreach ($file as $one => $val) {
            $val->remove = $this->generateRoute(
                "iumio_manager_databases_manager_remove",
                array("dbconfiguration" => $one),
                null,
                true
            );
            $val->edit = $this->generateRoute(
                "iumio_manager_databases_manager_edit",
                array("dbconfiguration" => $one),
                null,
                true
            );
            $val->edit_save = $this->generateRoute(
                "iumio_manager_databases_manager_edit_save",
                array("dbconfiguration" => $one),
                null,
                true
            );
        }

        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $file)));
    }
public function getAllDatabasesActivity ( ) : Renderer { $ file = ( array ) JL :: open ( FEnv :: get ( "framework.config.db.file" ) ) ; foreach ( $ file as $ one => $ val ) { $ val -> remove = $ this -> generateRoute ( "iumio_manager_databases_manager_remove" , array ( "dbconfiguration" => $ one ) , null , true ) ; $ val -> edit = $ this -> generateRoute ( "iumio_manager_databases_manager_edit" , array ( "dbconfiguration" => $ one ) , null , true ) ; $ val -> edit_save = $ this -> generateRoute ( "iumio_manager_databases_manager_edit_save" , array ( "dbconfiguration" => $ one ) , null , true ) ; } return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "results" => $ file ) ) ) ; }
Get Databases list
@return Renderer
@throws \Exception
Get Databases list