[Solar-talk] new model & handle col

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Jun 21 07:01:42 PDT 2007


Hi,
I have an user model with a 'handle' column but I can't set a value to it.

    $model = Solar::factory('Tipos_Model_User');
    $user = $model->fetchNew();
    $user->handle = 'test';
    echo '<h1>=> '.$user->handle.'</h1>';

No matter what I assign to $user->handle, it is always empty. I
checked many times to see if I was doing something stupid, but
couldn't find a clue. Any idea of what could it be?

-- rodrigo


More information about the solar-talk mailing list