public function getAllActivity()
    {
        $file = JL::open(FEnv::get("framework.config")."smarty_config/smarty.json");
        foreach ($file as $one => $value) {
            $value->edit = $this->generateRoute(
                "iumio_manager_smarty_manager_edit",
                array("config" => $one),
                null,
                true
            );
            $value->save = $this->generateRoute(
                "iumio_manager_smarty_manager_save",
                array("config" => $one),
                null,
                true
            );
        }
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK", "results" => $file)));
    }
public function getAllActivity()
    {
        $file = JL::open(FEnv::get("framework.config")."smarty_config/smarty.json");
        foreach ($file as $one => $value) {
            $value->edit = $this->generateRoute(
                "iumio_manager_smarty_manager_edit",
                array("config" => $one),
                null,
                true
            );
            $value->save = $this->generateRoute(
                "iumio_manager_smarty_manager_save",
                array("config" => $one),
                null,
                true
            );
        }
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK", "results" => $file)));
    }
public function getAllActivity ( ) { $ file = JL :: open ( FEnv :: get ( "framework.config" ) . "smarty_config/smarty.json" ) ; foreach ( $ file as $ one => $ value ) { $ value -> edit = $ this -> generateRoute ( "iumio_manager_smarty_manager_edit" , array ( "config" => $ one ) , null , true ) ; $ value -> save = $ this -> generateRoute ( "iumio_manager_smarty_manager_save" , array ( "config" => $ one ) , null , true ) ; } return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "msg" => "OK" , "results" => $ file ) ) ) ; }
Get all SmartyConfig
@throws
Get all SmartyConfig