class CI_Cart 
$product_id_rules = '.a-z0-9_-'  
These are the regular expression rules that we use to validate the product ID - alpha-numeric, dashes, underscores, or periods by default 
$product_name_rules = 'w -.:'  
These are the regular expression rules that we use to validate the product ID and product name - alpha-numeric, dashes, underscores, colons or periods by default 
$product_name_safe = TRUE  
Whether or not to only allow safe product names. Default TRUE. 
insert([$ite