Version 3.18.1
Show:

DataSchema.Base Class

Base class for the YUI DataSchema Utility.

Item Index

Methods

Methods

apply

(
  • schema
  • data
)
Object static

Overridable method returns data as-is.

Parameters:

Returns:

Object:

Schema-parsed data.

parse

(
  • value
  • field
)
Object

Applies field parser, if defined

Parameters:

Returns:

Object:

Type-converted value.