[Solar-talk] _hasOne Help

Rodrigo Moraes rodrigo.moraes at gmail.com
Wed Nov 14 12:19:04 CST 2007


On Nov 14, 2007 4:17 PM, Rodrigo Moraes wrote:
> oh, but this is just a convention. in your models, you can use any
> primary key name you want overriding the property $_primary_col:
>
>     $_primary_col = 'my_column_name';


ooops. of course it should be:

    protected $_primary_col = 'my_column_name';

;)

rodrigo


More information about the Solar-talk mailing list