Writing Range Setting Functions

If you do not plan to use the range setting facility for a new field type, you do not need to write a range setting function.

Instead of writing your own, you can use the range setting functions provided by the package. They are as follows:

rgset() For all field types except string-based
rgset_st() For F_STRING fields
rgset_date() For F_DATE fields
rgset_time() For F_TIME fields

More:

Defining a Range Structure for the Field Type

Specifications for a Range Setting Function


Home Contents Previous Next