ZurmoExternalViewUtil Class Reference

Static Public Member Functions

static makeExternalViewForCurrentUser (View $containedView)
static resolveHeadTag ($rawXHtml, $excludeStyles=false)
static resolveHtmlAndScriptInBody ($rawXHtml)
static resolveScriptTagsInBody (&$bodyContent)
static resolveAndCombineScripts ($rawXHtml)
static getContentsFromSource ($path)
static removeScriptTagSrcNodes (&$dom)
static resolveExternalRequestHeader ()

Data Fields

const EXTERNAL_SCRIPT_FILE_NAME = 'ExternalScripts.js'

Static Protected Member Functions

static publishExternalScripts ($dom)
static getScriptAbsolutePath ($scriptSrcPath)

Detailed Description

Helper class for constructing the default view used for rendering external widgets

Definition at line 40 of file ZurmoExternalViewUtil.php.


Member Function Documentation

static makeExternalViewForCurrentUser ( View containedView  )  [static]
Parameters:
View $containedView
Returns:
GridView

Definition at line 48 of file ZurmoExternalViewUtil.php.

static resolveHeadTag ( rawXHtml,
excludeStyles = false 
) [static]
Parameters:
$rawXHtml 
bool $excludeStyles
Returns:
array

Definition at line 63 of file ZurmoExternalViewUtil.php.

static resolveHtmlAndScriptInBody ( rawXHtml  )  [static]
Parameters:
$rawXHtml 
Returns:
array

Definition at line 115 of file ZurmoExternalViewUtil.php.

static resolveScriptTagsInBody ( &$  bodyContent  )  [static]
Parameters:
$bodyContent 
Returns:
array

Definition at line 137 of file ZurmoExternalViewUtil.php.

static resolveAndCombineScripts ( rawXHtml  )  [static]
Parameters:
$rawXHtml 
Returns:
string

Definition at line 176 of file ZurmoExternalViewUtil.php.

static getContentsFromSource ( path  )  [static]
Parameters:
$path 
Returns:
string

Definition at line 209 of file ZurmoExternalViewUtil.php.

static removeScriptTagSrcNodes ( &$  dom  )  [static]
Parameters:
$dom 

Definition at line 222 of file ZurmoExternalViewUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:32 2017