Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
HIPO_Job_Export_Online_Quiz_To_XML Class Reference
Inheritance diagram for HIPO_Job_Export_Online_Quiz_To_XML:
HIPO_Job MySource_Object

Public Member Functions

 HIPO_Job_Export_Online_Quiz_To_XML ($code_name='')
 
 getCodeName ()
 
 getHipoName ()
 
 getInitialStepData ()
 
 prepare ()
 
 freestyle ()
 
 initialiseExport (&$step_data, $prefix)
 
 generateXML (&$step_data, $prefix)
 
 finaliseExport (&$step_data, $prefix)
 
 generatePageStandardXML (Page_Standard $asset)
 
 generatePageOnlineQuizXML (Page_Online_Quiz $asset)
 
- Public Member Functions inherited from HIPO_Job
 HIPO_Job ($code_name='')
 
 getCodeName ()
 
 getHipoName ()
 
 getInitialStepData ()
 
 complete ()
 
 percentDone ()
 
getRunningVars ()
 
 setRunningVars (&$vars)
 
 setOption ($name, $value)
 
 getOption ($name)
 
 setHipoVar ($name, $value)
 
 getHipoVar ($name)
 
 _addError ($error, $warning=FALSE)
 
 getErrors ()
 
 prepare ()
 
 initialise ($source_code_name=NULL)
 
 getThreshold ()
 
 getThresholdPercentageRequired ()
 
 freestyle ()
 
 load ($code_name)
 
 save ($ignore_running_mode=FALSE)
 
 _updateProgress ()
 
 _renewLastUpdated ($new_time=NULL)
 
_getSubJob ()
 
 getInitialiseMode ()
 
 setRunningMode ($mode, $server_taskid='')
 
 getRunningMode ()
 
 autoStep ()
 
 getNextStep ()
 
 skipStep ($stepid=0)
 
 paint (&$o, $nested=FALSE)
 
 process ()
 
 processWeb (&$step_data, $prefix)
 
 processServer (&$step_data, $prefix)
 
 abort ($abort_source=TRUE, $abort_dependant=TRUE)
 
 jobAborted ()
 
 _paintErrorReport ()
 
 paintStepDefault (&$step_data, &$o, $prefix)
 
 _errorHandler ($err_no, $err_msg, $err_file, $err_line)
 
 getDependantHipoJob ()
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HIPO_Job
static paintConfig (&$o, $class, $write_access)
 
static getConfigVars ()
 
static paintProgressBar ($percent_done, $message='', $label_class='sq-hipo-progress-bar-label', $percent_class='sq-hipo-progress-bar-percent', $bar_main_class='sq-hipo-progress-bar-main', $bar_done_class='sq-hipo-progress-bar-done')
 
- Data Fields inherited from HIPO_Job
 $code_name = ''
 
 $source_code_name = ''
 
 $userid = 0
 
 $last_updated = 0
 
 $hipo_name = ''
 
 $is_prepared = FALSE
 
 $uses_trans = TRUE
 
 $_hipo_vars
 
 $_options
 
 $_running_vars = Array()
 
 $_current_mode = 'web'
 
 $_steps = Array()
 

Detailed Description

Definition at line 39 of file hipo_job_export_online_quiz_to_xml.inc.

Member Function Documentation

finaliseExport ( $step_data,
  $prefix 
)

Finalise Export

Parameters
array&$step_datastep data
string$prefixunique prefix
Returns
boolean public

Definition at line 311 of file hipo_job_export_online_quiz_to_xml.inc.

freestyle ( )

Performs the duties of this hipo, without showing any output on the frontend.

Returns
boolean public

Definition at line 189 of file hipo_job_export_online_quiz_to_xml.inc.

generatePageOnlineQuizXML ( Page_Online_Quiz  $asset)

Generate Online Quiz XML

Parameters
object$assetPage_Online_Quiz asset
Returns
void public

Definition at line 401 of file hipo_job_export_online_quiz_to_xml.inc.

generatePageStandardXML ( Page_Standard  $asset)

Generate Standard Page XML

Parameters
object$assetPage_Standard asset
Returns
void public

Definition at line 354 of file hipo_job_export_online_quiz_to_xml.inc.

generateXML ( $step_data,
  $prefix 
)

Generate XML

Parameters
array&$step_datastep data
string$prefixunique prefix
Returns
boolean public

Definition at line 244 of file hipo_job_export_online_quiz_to_xml.inc.

getCodeName ( )

Returns a unique codename the HIPO can use to ensure it is not being run twice

Returns
string public

Definition at line 62 of file hipo_job_export_online_quiz_to_xml.inc.

getHipoName ( )

Returns the (localised) HIPO name

Returns
string public

Definition at line 75 of file hipo_job_export_online_quiz_to_xml.inc.

getInitialStepData ( )

Returns the steps in this hipo, possibly with localised step names and messages

Returns
string public

Definition at line 89 of file hipo_job_export_online_quiz_to_xml.inc.

HIPO_Job_Export_Online_Quiz_To_XML (   $code_name = '')

Constructor

Parameters
string$code_namea unique codename the HIPO

Definition at line 48 of file hipo_job_export_online_quiz_to_xml.inc.

initialiseExport ( $step_data,
  $prefix 
)

Initialise Export

Parameters
array&$step_datastep data
string$prefixunique prefix
Returns
boolean public

Definition at line 219 of file hipo_job_export_online_quiz_to_xml.inc.

prepare ( )

Prepares the running vars and gets the children of the asset in question.

Returns
boolean public

Definition at line 142 of file hipo_job_export_online_quiz_to_xml.inc.


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