doc/book/en/D040-api-reference.en.txt
author sylvain.thenault@logilab.fr
Tue, 28 Apr 2009 15:38:06 +0200
branchtls-sprint
changeset 1505 e4c99610e1f7
parent 1444 ad182c8e14f7
permissions -rw-r--r--
set size=1 on select widget when a single choice is allowed

.. -*- coding: utf-8 -*-

API Reference
=============

Schema API
----------

Base Types
~~~~~~~~~~

Base types are defined as a set in yams.BASE_TYPES that includes:
`String`, `Int`, `Float`, `Boolean`, `Date`, `Time`, `Datetime`,
`Interval`, `Password`, `Bytes`.

See `yams' API <http://www.cubicweb.org/doc/en/modindex.html>`_

Constraints
~~~~~~~~~~~

Constraints are defined in yams.constraints and include:
`UniqueConstraint`, `SizeConstraint`, `RegexpConstraint`,
`BoundConstraint`, `IntervalBoundConstraint`,
`StaticVocabularyConstraint`, `MultipleStaticVocabularyConstraint`.

See `yams' API <http://www.cubicweb.org/doc/en/modindex.html>`_

Views API
---------

See `yams' API <http://www.cubicweb.org/doc/en/modindex.html>`_
[WRITE ME]