|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface
Interface Parent Class The interface class contains all the methods required to handle user input from the web interface and handles any specialized handling of the display for these requests. Child classes often override the stub methods for data handling and internal block parsing.
Field Summary | |
private unknown |
$command
|
private unknown |
$interface
|
private unknown |
$session
|
private unknown |
$theme
|
Constructor Summary | |
Interface()
Interface Constructor The class constructor requires the input of an interface, operation and plugin name. |
Method Summary | |
unknown |
add()
Add Stub Method |
unknown |
CoreErrorHandler(var $errno,
var $errstr,
var $errfile,
var $errline,
var $vars)
Custom Error Handler Rather than rely on defauly PHP error handling, we will override the error handler with our own method. |
unknown |
delete()
Delete Stub Method |
unknown |
display()
Display Interface The display method calls upon the theme object to perform parsing of the various areas of the template and return the completely parsed text from the template display method. |
unknown |
edit()
Edit Stub Method |
unknown |
footer(var $template)
Footer Stub Method |
unknown |
header(var $template)
Header Stub Method |
unknown |
Initialize()
Class Initializer The initializer performs a number of key tasks that are crucial to the setup of the interface. |
unknown |
leftblock(var $template)
LeftBlock Stub Method |
unknown |
main(var $template)
Main Stub Method |
unknown |
resetTheme()
Reset Theme |
unknown |
rightblock(var $template)
RightBlock Stub Method |
unknown |
search()
Search Stub Method The following is a sample base operations method. |
unknown |
unknownError()
Unknown Error A fallback method for displaying an error when a particular operation fails because of odd reasons. |
unknown |
validateForm()
Validate HTML Form |
Field Detail |
private unknown $interface
private unknown $theme
private unknown $session
private unknown $command
Constructor Detail |
public Interface()
global
- String $interface The interface name or description which is cross referenced to blocks in the database.global
- String $operation The current operation being performed (blank by default).global
- String $plugin The name of the current plugin being used for DB cross references.global
- String $interface_title A title most often used to name the page in the browser title.Method Detail |
public unknown Initialize()
initializeLocal
public unknown resetTheme()
public unknown display()
public unknown main(var $template)
$template
- is passed by referencepublic unknown header(var $template)
$template
- is passed by referencepublic unknown leftblock(var $template)
$template
- is passed by referencepublic unknown rightblock(var $template)
$template
- is passed by referencepublic unknown footer(var $template)
$template
- is passed by referencepublic unknown search()
public unknown add()
public unknown edit()
public unknown delete()
public unknown unknownError()
public unknown validateForm()
public unknown CoreErrorHandler(var $errno, var $errstr, var $errfile, var $errline, var $vars)
integer
- $errno A masked value of the error number.String
- $errstr A string describing the error condition.String
- $errfile The filename in which the error occured.integer
- $errline The line number of the program in which the error occurred.Array
- $vars An array containing the variables which were set during the error condition.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |