CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CoopCredProgramEditor Class Reference
Inheritance diagram for CoopCredProgramEditor:
FanniePage

Public Member Functions

 preprocess ()
 
 ajax_response ($action)
 
 body_content ()
 
 updateViews ($dbc)
 

Public Attributes

 $themed = True
 

Protected Attributes

 $title = "Fannie : Manage Coop Cred Programs"
 
 $header = "Manage Coop Cred Programs"
 
 $auth_classes = array('overshorts')
 

Member Function Documentation

CoopCredProgramEditor::ajax_response (   $action)

Define any CSS needed

Returns
A CSS string public function css_content() { $css = ""; return $css; }
CoopCredProgramEditor::body_content ( )

Override FanniePage::errorContent(). Body of a page to display instead of body_content $this->error_text is also used for smaller HTML-formatted messages. public function errorContent() { return $this->error_text; } Override FanniePage::readinessCheck() Check if there are any problems that might prevent the page from working properly. If there are, return False, which will cause draw_page() to call errorContent() instead of body_content(). There are two helper functions in FanniePage: tableExistsReadinessCheck($database, $table) tableHasColumnReadinessCheck($database, $table, $column) public function readinessCheck() { return true; } Define the main displayed content

Returns
An HTML string For this script the page consists of two horizontal sections. above, a fixed select of Programs below, an area that is populated by JS with the editing form and possibly other art.

The documentation for this class was generated from the following file: