ImportTempTableListView Class Reference

Inheritance diagram for ImportTempTableListView:
ListView ModelView ListViewInterface ConfigurableMetadataView MetadataView View AnalysisResultsImportTempTableListView ImportResultsImportTempTableListView

Public Member Functions

 __construct ($controllerId, $moduleId, ImportDataProvider $dataProvider, $mappingData, $importRulesType, ImportResultsConfigurationForm $configurationForm, ZurmoActiveForm $zurmoActiveForm, $importId, $gridIdSuffix=null)
 getLinkString ($attributeString, $attribute)

Static Public Member Functions

static resolveAnalysisStatusLabel ($data)
static resolveResultStatusLabel ($data)

Data Fields

const EXPANDABLE_ANALYSIS_CONTENT_TYPE = 'Analysis'
const EXPANDABLE_IMPORT_RESULTS_CONTENT_TYPE = 'Import Results'

Protected Member Functions

 resolveSecondColumn ()
 getDefaultRoute ()
 getResultsFilterRadioElementClassName ()
 renderContent ()
 getGridViewWidgetPath ()
 getCGridViewParams ()
 getCGridViewPagerParams ()
 resolveColumnLabelsByName ()
 getCGridViewColumns ()
 resolveColumnData (&$column, $columnName)
 resolveHeaderColumnContent ($columnName, $label)
 getCGridViewBeforeAjaxUpdate ()
 getCGridViewAfterAjaxUpdate ()
 rowsAreExpandable ()
 getUniquePageId ()
 renderConfigurationForm ()
 renderConfigurationFormLayout ($form)
 registerConfigurationFormLayoutScripts ($form)

Static Protected Member Functions

static getExpandableContentType ()
static resolveHeaderLabelByColumnNameAndLabel ($columnName, $label)
static resolveColumnCountByName ($columnName)
static getPagerCssClass ()

Protected Attributes

 $dataProvider
 $rowsAreExpandable = false
 $mappingData
 $importRulesType
 $configurationForm
 $importId
 $isTableEditable = true

Detailed Description

Base class for working with import temp table data

Definition at line 40 of file ImportTempTableListView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
ImportDataProvider dataProvider,
mappingData,
importRulesType,
ImportResultsConfigurationForm configurationForm,
ZurmoActiveForm zurmoActiveForm,
importId,
gridIdSuffix = null 
)
Parameters:
string $controllerId
string $moduleId
ImportDataProvider $dataProvider
$mappingData 
$importRulesType 
ImportResultsConfigurationForm $configurationForm
array $importId
null $gridIdSuffix

Definition at line 140 of file ImportTempTableListView.php.


Member Function Documentation

static getExpandableContentType (  )  [static, protected]

Override and implement in children classes

Exceptions:
NotImplementedException 

Reimplemented in AnalysisResultsImportTempTableListView, and ImportResultsImportTempTableListView.

Definition at line 98 of file ImportTempTableListView.php.

renderContent (  )  [protected]

Renders content for a list view. Utilizes a CActiveDataprovider and a CGridView widget. and form layout.

Returns:
A string containing the element's content.

Reimplemented from ListView.

Definition at line 153 of file ImportTempTableListView.php.

static getPagerCssClass (  )  [static, protected]
Returns:
string

Reimplemented from ListView.

Definition at line 178 of file ImportTempTableListView.php.

getGridViewWidgetPath (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 186 of file ImportTempTableListView.php.

getCGridViewParams (  )  [protected]
Returns:
array

Reimplemented from ListView.

Reimplemented in AnalysisResultsImportTempTableListView, and ImportResultsImportTempTableListView.

Definition at line 194 of file ImportTempTableListView.php.

getCGridViewPagerParams (  )  [protected]
Returns:
array

Reimplemented from ListView.

Definition at line 204 of file ImportTempTableListView.php.

getCGridViewColumns (  )  [protected]

Get the meta data and merge with standard CGridView column elements to create a column array that fits the CGridView columns API

Returns:
array

Reimplemented from ListView.

Definition at line 242 of file ImportTempTableListView.php.

resolveColumnData ( &$  column,
columnName 
) [protected]

Resolves the column data info for the table

Parameters:
Array $column
string $columnName

Definition at line 288 of file ImportTempTableListView.php.

getCGridViewBeforeAjaxUpdate (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 327 of file ImportTempTableListView.php.

getCGridViewAfterAjaxUpdate (  )  [protected]

Do not run global eval, since it causes doubling up of ajax requests on the pager. (non-PHPdoc)

See also:
ListView::getCGridViewAfterAjaxUpdate()

Reimplemented from ListView.

Definition at line 337 of file ImportTempTableListView.php.

rowsAreExpandable (  )  [protected]
Returns:
bool

Definition at line 349 of file ImportTempTableListView.php.

renderConfigurationFormLayout ( form  )  [protected]
Parameters:
ZurmoActiveForm $form
Returns:
string

Definition at line 370 of file ImportTempTableListView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Oct 21 07:10:26 2017