Column Alias For Ar


(Mandavi) #1

Hey,

I installed an extension (user-management) and it assumes certain table column names. Mine are partly different. Is there something like table column aliases?

That would be great, since than I don’t need to change the extension nor my own code a lot.


(Imre Lorvi) #2

try adding getters/setters for required fields.

i.e


class User 

{

    public function getUsername() {

        return $this->user_name;

    }


    public function setUsername($username) {

        $this->user_name = $username;

    }

}


(Mandavi) #3

This works! Thank you