'AffiliateId'=>Array('type'=>'int','formatter'=>'kLEFTFormatter','error_msgs'=>Array('invalid_option'=>'!la_error_UserNotFound!'),'options'=>Array(0=>'lu_None'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'Affiliates af LEFT JOIN '.TABLE_PREFIX.'Users pu ON pu.PortalUserId = af.PortalUserId WHERE `%s` = \'%s\'','left_key_field'=>'AffiliateId','left_title_field'=>'Username','not_null'=>1,'default'=>0),