Package orm2 :: Package util :: Module datatypes :: Class PEMail
[hide private]
[frames] | no frames]

Class PEMail

source code

    object --+            
      property --+        
datatypes.datatype --+    
     datatypes.Unicode --+

Like PDomain above, but for e-Mail addresses. The local part will be checked against a regular expression, the remote part will be treated like a domain name by the PDomain class above.

Nested Classes [hide private]
SQL literal class for <b>valid</b> Unicode (idna) domain names and email addresses.

Inherited from datatypes.Unicode: python_class

Instance Methods [hide private]
  __init__(self, column=None, title=None, validators=(), has_default=False)
  __convert__(self, value)

Inherited from datatypes.Unicode: __set_from_result__

Inherited from datatypes.datatype: __delete__, __get__, __init_dbclass__, __select_after_insert__, __select_this_column__, __set__, __setattr__, add_widget, check_dbobj, data_attribute_name, isset, sql_literal, widget_specs

Inherited from property: __getattribute__, __new__

Inherited from object: __delattr__, __hash__, __reduce__, __reduce_ex__, __repr__, __str__

Class Variables [hide private]

Inherited from property: fdel, fget, fset

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, column=None, title=None, validators=(), has_default=False)

source code 
Overrides: datatypes.datatype.__init__
(inherited documentation)

__convert__(self, value)

source code 
Overrides: datatypes.Unicode.__convert__