Customer::__set_state(array( 'id' => NULL, 'id_shop' => NULL, 'id_shop_group' => NULL, 'secure_key' => NULL, 'note' => NULL, 'id_gender' => 0, 'id_default_group' => 1, 'id_lang' => NULL, 'lastname' => NULL, 'firstname' => NULL, 'birthday' => NULL, 'email' => NULL, 'newsletter' => NULL, 'ip_registration_newsletter' => NULL, 'newsletter_date_add' => NULL, 'optin' => NULL, 'website' => NULL, 'company' => NULL, 'siret' => NULL, 'ape' => NULL, 'outstanding_allow_amount' => 0, 'show_public_prices' => 0, 'id_risk' => NULL, 'max_payment_days' => 0, 'passwd' => NULL, 'last_passwd_gen' => NULL, 'active' => true, 'is_guest' => 0, 'deleted' => 0, 'date_add' => NULL, 'date_upd' => NULL, 'years' => NULL, 'days' => NULL, 'months' => NULL, 'geoloc_id_country' => NULL, 'geoloc_id_state' => NULL, 'geoloc_postcode' => NULL, 'logged' => 0, 'id_guest' => false, 'groupBox' => NULL, 'reset_password_token' => NULL, 'reset_password_validity' => NULL, 'webserviceParameters' => array ( 'objectMethods' => array ( 'add' => 'addWs', 'update' => 'updateWs', ), 'fields' => array ( 'id_default_group' => array ( 'xlink_resource' => 'groups', ), 'id_lang' => array ( 'xlink_resource' => 'languages', ), 'newsletter_date_add' => array ( ), 'ip_registration_newsletter' => array ( ), 'last_passwd_gen' => array ( 'setter' => NULL, ), 'secure_key' => array ( 'setter' => NULL, ), 'deleted' => array ( ), 'passwd' => array ( 'setter' => 'setWsPasswd', ), ), 'associations' => array ( 'groups' => array ( 'resource' => 'group', ), ), ), 'id_shop_list' => array ( ), 'get_shop_from_context' => true, 'table' => 'customer', 'identifier' => 'id_customer', 'fieldsRequired' => array ( 0 => 'lastname', 1 => 'firstname', 2 => 'email', 3 => 'passwd', ), 'fieldsSize' => array ( 'lastname' => 255, 'firstname' => 255, 'email' => 255, 'passwd' => 255, 'note' => 65000, 'reset_password_token' => 40, ), 'fieldsValidate' => array ( 'secure_key' => 'isMd5', 'lastname' => 'isCustomerName', 'firstname' => 'isCustomerName', 'email' => 'isEmail', 'passwd' => 'isPasswd', 'id_gender' => 'isUnsignedId', 'birthday' => 'isBirthDate', 'newsletter' => 'isBool', 'optin' => 'isBool', 'website' => 'isUrl', 'company' => 'isGenericName', 'siret' => 'isGenericName', 'ape' => 'isApe', 'outstanding_allow_amount' => 'isFloat', 'show_public_prices' => 'isBool', 'id_risk' => 'isUnsignedInt', 'max_payment_days' => 'isUnsignedInt', 'active' => 'isBool', 'deleted' => 'isBool', 'is_guest' => 'isBool', 'id_shop' => 'isUnsignedId', 'id_shop_group' => 'isUnsignedId', 'id_lang' => 'isUnsignedId', 'date_add' => 'isDate', 'date_upd' => 'isDate', 'reset_password_token' => 'isSha1', 'reset_password_validity' => 'isDateOrNull', ), 'fieldsRequiredLang' => array ( ), 'fieldsSizeLang' => array ( ), 'fieldsValidateLang' => array ( ), 'tables' => array ( ), 'image_dir' => NULL, 'image_format' => 'jpg', 'translator' => NULL, 'def' => array ( 'table' => 'customer', 'primary' => 'id_customer', 'fields' => array ( 'secure_key' => array ( 'type' => 3, 'validate' => 'isMd5', 'copy_post' => false, ), 'lastname' => array ( 'type' => 3, 'validate' => 'isCustomerName', 'required' => true, 'size' => 255, ), 'firstname' => array ( 'type' => 3, 'validate' => 'isCustomerName', 'required' => true, 'size' => 255, ), 'email' => array ( 'type' => 3, 'validate' => 'isEmail', 'required' => true, 'size' => 255, ), 'passwd' => array ( 'type' => 3, 'validate' => 'isPasswd', 'required' => true, 'size' => 255, ), 'last_passwd_gen' => array ( 'type' => 3, 'copy_post' => false, ), 'id_gender' => array ( 'type' => 1, 'validate' => 'isUnsignedId', ), 'birthday' => array ( 'type' => 5, 'validate' => 'isBirthDate', ), 'newsletter' => array ( 'type' => 2, 'validate' => 'isBool', ), 'newsletter_date_add' => array ( 'type' => 5, 'copy_post' => false, ), 'ip_registration_newsletter' => array ( 'type' => 3, 'copy_post' => false, ), 'optin' => array ( 'type' => 2, 'validate' => 'isBool', ), 'website' => array ( 'type' => 3, 'validate' => 'isUrl', ), 'company' => array ( 'type' => 3, 'validate' => 'isGenericName', ), 'siret' => array ( 'type' => 3, 'validate' => 'isGenericName', ), 'ape' => array ( 'type' => 3, 'validate' => 'isApe', ), 'outstanding_allow_amount' => array ( 'type' => 4, 'validate' => 'isFloat', 'copy_post' => false, ), 'show_public_prices' => array ( 'type' => 2, 'validate' => 'isBool', 'copy_post' => false, ), 'id_risk' => array ( 'type' => 1, 'validate' => 'isUnsignedInt', 'copy_post' => false, ), 'max_payment_days' => array ( 'type' => 1, 'validate' => 'isUnsignedInt', 'copy_post' => false, ), 'active' => array ( 'type' => 2, 'validate' => 'isBool', 'copy_post' => false, ), 'deleted' => array ( 'type' => 2, 'validate' => 'isBool', 'copy_post' => false, ), 'note' => array ( 'type' => 6, 'size' => 65000, 'copy_post' => false, ), 'is_guest' => array ( 'type' => 2, 'validate' => 'isBool', 'copy_post' => false, ), 'id_shop' => array ( 'type' => 1, 'validate' => 'isUnsignedId', 'copy_post' => false, ), 'id_shop_group' => array ( 'type' => 1, 'validate' => 'isUnsignedId', 'copy_post' => false, ), 'id_default_group' => array ( 'type' => 1, 'copy_post' => false, ), 'id_lang' => array ( 'type' => 1, 'validate' => 'isUnsignedId', 'copy_post' => false, ), 'date_add' => array ( 'type' => 5, 'validate' => 'isDate', 'copy_post' => false, ), 'date_upd' => array ( 'type' => 5, 'validate' => 'isDate', 'copy_post' => false, ), 'reset_password_token' => array ( 'type' => 3, 'validate' => 'isSha1', 'size' => 40, 'copy_post' => false, ), 'reset_password_validity' => array ( 'type' => 5, 'validate' => 'isDateOrNull', 'copy_post' => false, ), ), 'classname' => 'Customer', ), 'update_fields' => NULL, 'force_id' => false, ))