Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Page_Online_Quiz_Edit_Fns Class Reference
Inheritance diagram for Page_Online_Quiz_Edit_Fns:
Page_Asset_Listing_Edit_Fns Listing_Engine_Edit_Fns Page_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 __construct ()
 
 paintUserDetailsSource (&$asset, &$o, $prefix)
 
 processUserDetailsSource (&$asset, &$o, $prefix)
 
 paintAfterSubmitAction (&$asset, &$o, $prefix)
 
 processAfterSubmitAction (&$asset, &$o, $prefix)
 
 processCanRetake (&$asset, &$o, $prefix)
 
 paintCanRetake (&$asset, &$o, $prefix)
 
 paintDefaultFormatLinks (&$asset, &$o, $prefix)
 
 paintDownloadDateRange (&$asset, &$o, $prefix)
 
 paintDownloadFormat (&$asset, &$o, $prefix)
 
 paintDownloadFields (&$asset, &$o, $prefix)
 
 paintDownloadButton (&$asset, &$o, $prefix)
 
 paintSubmissionDateRange (&$asset, &$o, $prefix)
 
 paintSubmissionCount (&$asset, &$o, $prefix)
 
 paintSubmissionList (&$asset, &$o, $prefix)
 
 processSubmissionList (&$asset, &$o, $prefix)
 
 processDownloadButton (&$asset, &$o, $prefix)
 
 processExportCSV (&$asset, &$o, $prefix, $export_fields=Array(), $header_row=TRUE, $delimiter=',')
 
 paintQuestionPoolSetup (&$asset, &$o, $prefix)
 
 processQuestionPoolSetup (&$asset, &$o, $prefix)
 
 paintExpandSections (&$asset, &$o, $prefix)
 
 paintQuestionOptionFormat (&$asset, &$o, $prefix)
 
 processQuestionOptionFormat (&$asset, &$o, $prefix)
 
 hasAttributeWriteAccess (&$asset, &$o)
 
 isListingMode (&$asset)
 
 isInteractiveMode (&$asset)
 
- Public Member Functions inherited from Page_Asset_Listing_Edit_Fns
 __construct ()
 
 paintLinkTypes (&$asset, &$o, $prefix)
 
 processLinkTypes (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from Listing_Engine_Edit_Fns
 __construct ($assetid=0)
 
 paintAssetTypes (&$asset, &$o, $prefix)
 
 processAssetTypes (&$asset, &$o, $prefix)
 
 paintAssetPositions (&$asset, &$o, $prefix)
 
 processAssetPositions (&$asset, &$o, $prefix)
 
 paintColumnSettings (&$asset, &$o, $prefix)
 
 processColumnSettings (&$asset, &$o, $prefix)
 
 paintColumnPreview (&$asset, &$o, $prefix)
 
 processColumnPreview (&$asset, &$o, $prefix)
 
 paintDefaultFormatLinks (&$asset, &$o, $prefix)
 
 _paintDefaultFormatLink ($root_assetid, $bodycopy_name, $bodycopy_description, $type_code='bodycopy', $screen='contents')
 
 paintGroupFormatLinks (&$asset, &$o, $prefix)
 
 _getAvailableTypes (&$asset)
 
 paintTypeFormats (&$asset, &$o, $prefix)
 
 processTypeFormats (&$asset, &$o, $prefix)
 
 paintPositionFormats (&$asset, &$o, $prefix)
 
 processPositionFormats (&$asset, &$o, $prefix)
 
 paintSortOptions (&$asset, &$o, $prefix)
 
 processSortOptions (&$asset, &$o, $prefix)
 
 _paintStandardFieldSortOptions (&$asset, &$o, $prefix)
 
 _processStandardFieldSortOptions (&$asset, &$o, $prefix)
 
 _paintAttributeSortOptions (&$asset, &$o, $prefix)
 
 _processAttributeSortOptions (&$asset, &$o, $prefix)
 
 _paintMetadataSortOptions (&$asset, &$o, $prefix)
 
 _processMetadataSortOptions (&$asset, &$o, $prefix)
 
 _paintKeywordSortOptions (&$asset, &$o, $prefix)
 
 _processKeywordSortOptions (&$asset, &$o, $prefix)
 
 _paintExtraSortOptions (&$asset, &$o, $prefix)
 
 _processExtraSortOptions (&$asset, &$o, $prefix)
 
 _addNewSortOption (&$options, $new_option)
 
 paintMetadataSortType (&$asset, &$o, $prefix)
 
 processMetadataSortType (&$asset, &$o, $prefix)
 
 paintDefaultSortByOption (&$asset, &$o, $prefix)
 
 processDefaultSortByOption (&$asset, &$o, $prefix)
 
 paintSortOptionOrder (&$asset, &$o, $prefix)
 
 processSortOptionOrder (&$asset, &$o, $prefix)
 
 paintDefaultSortDirection (&$asset, &$o, $prefix)
 
 processDefaultSortDirection (&$asset, &$o, $prefix)
 
 _getStandardSortByOptions (&$asset)
 
 paintRootNode (&$asset, &$o, $prefix)
 
 processRootNode (&$asset, &$o, $prefix)
 
 paintGroupBy (&$asset, &$o, $prefix)
 
 processGroupBy (&$asset, &$o, $prefix)
 
 paintGroupByMetadata (&$asset, &$o, $prefix, $group_by_option)
 
 processGroupByMetadata (&$asset, &$o, $prefix, $key, &$group_by_option)
 
 paintGroupByStandardAssetField (&$asset, &$o, $prefix, $group_by_option)
 
 processGroupByStandardAssetField (&$asset, &$o, $prefix, $key, &$group_by_option)
 
 paintGroupByParentAsset (&$asset, &$o, $prefix, $group_by_option)
 
 processGroupByParentAsset (&$asset, &$o, $prefix, $key, &$group_by_option)
 
 paintGroupByKeyword (&$asset, &$o, $prefix, $group_by_option)
 
 processGroupByKeyword (&$asset, &$o, $prefix, $key, &$group_by_option)
 
 paintNewGroupBy (&$asset, &$o, $prefix)
 
 processNewGroupBy (&$asset, &$o, $prefix)
 
 paintSelections (&$asset, &$o, $prefix)
 
 processSelections (&$asset, &$o, $prefix)
 
 paintTargets (&$asset, &$o, $prefix)
 
 processTargets (&$asset, &$o, $prefix)
 
 paintStatus (&$asset, &$o, $prefix)
 
 processStatus (&$asset, &$o, $prefix)
 
 paintPermissions (&$asset, &$o, $prefix)
 
 processPermissions (&$asset, &$o, $prefix)
 
 _paintStructuredTypes (&$asset, &$o, $prefix, &$options)
 
 _processStructuredTypes (&$asset, &$o, $prefix, &$options)
 
 paintStructuredDropdownOptions (&$asset, &$o, $prefix)
 
 processStructuredDropdownOptions (&$asset, &$o, $prefix)
 
 isAZListing (&$asset, $prefix)
 
 paintUseNoResultsBodycopy (&$asset, &$o, $prefix)
 
 processUseNoResultsBodycopy (&$asset, &$o, $prefix)
 
 paintProxyTypes (&$asset, &$o, $prefix)
 
 processProxyTypes (&$asset, &$o, $prefix)
 
 paintAssetExclusion (&$asset, &$o, $prefix)
 
 processAssetExclusion (&$asset, &$o, $prefix)
 
 paintRootNodeExclusion (&$asset, &$o, $prefix)
 
 processRootNodeExclusion (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from Page_Edit_Fns
 __construct ()
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 36 of file page_online_quiz_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Returns
void public

Definition at line 46 of file page_online_quiz_edit_fns.inc.

Member Function Documentation

hasAttributeWriteAccess ( $asset,
$o 
)

Returns TRUE if the attribute lock is acquired

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
Returns
boolean public

Definition at line 1354 of file page_online_quiz_edit_fns.inc.

isInteractiveMode ( $asset)

Show-if conditional: isInteractiveMode

Parameters
object&$assetasset being painted
Returns
boolean public

Definition at line 1384 of file page_online_quiz_edit_fns.inc.

isListingMode ( $asset)

Show-if conditional: isListingMode

Parameters
object&$assetasset being painted
Returns
boolean public

Definition at line 1369 of file page_online_quiz_edit_fns.inc.

paintAfterSubmitAction ( $asset,
$o,
  $prefix 
)

Paint the interface for handling the 'after_submit_action' attribute and toggling the 'thank_you' bodycopy

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 128 of file page_online_quiz_edit_fns.inc.

paintCanRetake ( $asset,
$o,
  $prefix 
)

Paint the interface for handling the 'can_retake' attribute and toggling the'already_taken' bodycopy

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 226 of file page_online_quiz_edit_fns.inc.

paintDefaultFormatLinks ( $asset,
$o,
  $prefix 
)

Paint links to the default formats

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 258 of file page_online_quiz_edit_fns.inc.

paintDownloadButton ( $asset,
$o,
  $prefix 
)

Paints the download button for the export block

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 430 of file page_online_quiz_edit_fns.inc.

paintDownloadDateRange ( $asset,
$o,
  $prefix 
)

Paints the download date range selector for the export block

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 301 of file page_online_quiz_edit_fns.inc.

paintDownloadFields ( $asset,
$o,
  $prefix 
)

Paints the fields available for export

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 369 of file page_online_quiz_edit_fns.inc.

paintDownloadFormat ( $asset,
$o,
  $prefix 
)

Paints the download format selector for the export block

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 341 of file page_online_quiz_edit_fns.inc.

paintExpandSections ( $asset,
$o,
  $prefix 
)

Paints the submission asset sections available for expanding in the submission list

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 1282 of file page_online_quiz_edit_fns.inc.

paintQuestionOptionFormat ( $asset,
$o,
  $prefix 
)

Paint the question option format interface

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 1306 of file page_online_quiz_edit_fns.inc.

paintQuestionPoolSetup ( $asset,
$o,
  $prefix 
)

Paint Question Pool Setup

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 1150 of file page_online_quiz_edit_fns.inc.

paintSubmissionCount ( $asset,
$o,
  $prefix 
)

Paints the submission count interface

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 503 of file page_online_quiz_edit_fns.inc.

paintSubmissionDateRange ( $asset,
$o,
  $prefix 
)

Paints the date range selector

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 461 of file page_online_quiz_edit_fns.inc.

paintSubmissionList ( $asset,
$o,
  $prefix 
)

Paints the submission list

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 523 of file page_online_quiz_edit_fns.inc.

paintUserDetailsSource ( $asset,
$o,
  $prefix 
)

Paint the interface for handling the 'user_details_source' attribute and toggling the 'user_details' bodycopy and form

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 64 of file page_online_quiz_edit_fns.inc.

processAfterSubmitAction ( $asset,
$o,
  $prefix 
)

Process the interface for handling the 'after_submit_action' attribute and toggling the 'thank_you' bodycopy

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 159 of file page_online_quiz_edit_fns.inc.

processCanRetake ( $asset,
$o,
  $prefix 
)

Process the interface for handling the 'after_submit_action' attribute and toggling the 'thank_you' bodycopy

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 192 of file page_online_quiz_edit_fns.inc.

processDownloadButton ( $asset,
$o,
  $prefix 
)

Processes the Download Button press

This function will pass off the work to processExportCSV() or processExportXML(), as appropriate. If we aren't downloading a file, this function will silently return a success.

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 962 of file page_online_quiz_edit_fns.inc.

processExportCSV ( $asset,
$o,
  $prefix,
  $export_fields = Array(),
  $header_row = TRUE,
  $delimiter = ',' 
)

Exports chosen submissions to a comma separated value (CSV) file

Will only perform export for the date range and fields selected in the Export block.

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
array$export_fieldsset of question IDs to export
boolean$header_rowwhether the header row is filled in
string$delimiterdelimiter char
Returns
boolean public

Definition at line 1007 of file page_online_quiz_edit_fns.inc.

processQuestionOptionFormat ( $asset,
$o,
  $prefix 
)

Process the question option format interface

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 1331 of file page_online_quiz_edit_fns.inc.

processQuestionPoolSetup ( $asset,
$o,
  $prefix 
)

Process Question Pool Setup

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 1236 of file page_online_quiz_edit_fns.inc.

processSubmissionList ( $asset,
$o,
  $prefix 
)

Processes the submissions block (only processes deletion of submissions)

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 884 of file page_online_quiz_edit_fns.inc.

processUserDetailsSource ( $asset,
$o,
  $prefix 
)

Process the interface for handling the 'user_details_source' attribute and toggling the 'user_details' bodycopy and form

Parameters
object&$assetthe asset to which we belong
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 99 of file page_online_quiz_edit_fns.inc.


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