src/Admin/HTMLForm/DeleteAdminForm.php
public function getUserDetails($id)
    {
        $user = new User();
        $user->setDb($this->di->get("db"));
        $user->find("id", $id);
        return $user;
    }
public function getUserDetails($id)
    {
        $user = new User();
        $user->setDb($this->di->get("db"));
        $user->find("id", $id);
        return $user;
    }
public function getUserDetails ( $ id ) { $ user = new User ( ) ; $ user -> setDb ( $ this -> di -> get ( "db" ) ) ; $ user -> find ( "id" , $ id ) ; return $ user ; }
Get user details to load form with.

@param string $id get details on item with id.

@return object User details.
Get user details to load form with .