Package s3 :: Module s3msg :: Class S3Compose
[frames] | no frames]

Class S3Compose

source code

     object --+        
              |        
s3rest.S3Method --+    
                  |    
      s3crud.S3CRUD --+
                      |
                     S3Compose

RESTful method for messaging

Instance Methods
 
apply_method(self, r, **attr)
API entry point
source code
 
compose(self, r, **attr)
Generate a form to send a message
source code

Inherited from s3crud.S3CRUD: create, delete, import_csv, last_update, read, render_buttons, review, select, unapproved, update, validate, widget

Inherited from s3rest.S3Method: __call__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from s3crud.S3CRUD: action_buttons

Static Methods

Inherited from s3crud.S3CRUD: action_button, crud_button, import_url

Inherited from s3rest.S3Method: crud_string

Properties

Inherited from object: __class__

Method Details

apply_method(self, r, **attr)

source code 

API entry point

Parameters:
  • r - the S3Request instance
  • attr - controller attributes for the request
Returns:
output object to send to the view
Overrides: s3rest.S3Method.apply_method

compose(self, r, **attr)

source code 

Generate a form to send a message

Parameters:
  • r - the S3Request instance
  • attr - controller attributes for the request