Moodle  2.2.1
http://www.collinsharper.com
XMLDBAction Class Reference
Inheritance diagram for XMLDBAction:

Public Member Functions

 XMLDBAction ()
 __construct ()
 init ()
 getDoesGenerate ()
 getError ()
 getOutput ()
 getPostAction ()
 getTitle ()
 loadStrings ($strings)
 invoke ()
 launch ($action)
 upgrade_savepoint_php ($structure)

Data Fields

 $does_generate
 $title
 $str
 $output
 $errormsg
 $postaction
 $sesskey_protected

Detailed Description

Definition at line 35 of file XMLDBAction.class.php.


Constructor & Destructor Documentation

Constructor to keep PHP5 happy

Definition at line 67 of file XMLDBAction.class.php.

Here is the call graph for this function:


Member Function Documentation

returns the type of output of the file

Definition at line 88 of file XMLDBAction.class.php.

getError ( )

getError method, returns the last error string. Used if the invoke() methods returns false

Definition at line 96 of file XMLDBAction.class.php.

getOutput ( )

getOutput method, returns the output generated by the action. Used after execution of the invoke() methods if they return true

Definition at line 104 of file XMLDBAction.class.php.

getPostAction method, returns the action to launch after executing another one

Definition at line 112 of file XMLDBAction.class.php.

Here is the caller graph for this function:

getTitle ( )

getTitle method returns the title of the action (that is part of the $str array attribute

Definition at line 120 of file XMLDBAction.class.php.

launch ( action)

launch method, used to easily call invoke methods between actions

Definition at line 173 of file XMLDBAction.class.php.

Here is the caller graph for this function:

loadStrings ( strings)

loadStrings method, loads the required strings specified in the array parameter

Definition at line 128 of file XMLDBAction.class.php.

Here is the call graph for this function:

upgrade_savepoint_php ( structure)

This function will generate the PHP code needed to implement the upgrade_xxxx_savepoint() php calls in upgrade code generated from the editor. It's used by the view_structure_php and view_table_php actions

Parameters:
xmldb_structurestructure object containing all the info
Returns:
string PHP code to be used to mark a reached savepoint

Definition at line 217 of file XMLDBAction.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Constructor

Definition at line 60 of file XMLDBAction.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$does_generate

Definition at line 37 of file XMLDBAction.class.php.

$errormsg

Definition at line 50 of file XMLDBAction.class.php.

$output

Definition at line 47 of file XMLDBAction.class.php.

$postaction

Definition at line 53 of file XMLDBAction.class.php.

$sesskey_protected

Definition at line 55 of file XMLDBAction.class.php.

$str

Definition at line 44 of file XMLDBAction.class.php.

$title

Definition at line 41 of file XMLDBAction.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations