Text_Fields is a base class for any fields which are have integer value. (Exception: foreign and private key fields. Wish PHP had multiple-inheritance for this...)
Indirect known subclasses
When creating a brand-new model object, or setting a particular value for one of its fields, this function is called before setting it on the model object. We may want to strip slashes, unserialize the value, etc. By default, we do nothing.
When instantiating a model object from DB results, this function is called before setting each field. We may want to serialize the value, etc. By default, we return the value using prepare_for_set() method as that is the one child classes will most often define.
Methods inherited from EE_Model_Field_Base