api.zedseries.com
[ class tree: Wizard ] [ index: Wizard ] [ all elements ]

Class: ZedSeriesWizardHelper

Source Location: /ZedSeriesWizardHelper.php

Class ZedSeriesWizardHelper

Class Overview

Class ZedSeriesWizardHelper

Located in /ZedSeriesWizardHelper.php [line 23]



		
				Author(s):
		
		
		API Tags:
Abstract:  

Information Tags:
Copyright:  Angelo Galleja 2008,2009,2010

Properties

Methods

[ Top ]
Property Summary
mixed   $completed  
mixed   $cu   ZedSeriesControllerUtils instance
mixed   $wz  

[ Top ]
Method Summary
ZedSeriesWizardHelper   __construct()  
void   buildStepFromDca()   build a list of step from a DCA (Data Configuration Array)
mixed   getSettings()   you can override this in extended class to specify you own configuration settings
array   getSteps()  
array   getValidators()   you can override this in extended class to specify you own custom validators callback
void   initWizard()  
void   run()   return mixed string with html code or array of values

[ Top ]
Properties
mixed   $completed [line 33]
API Tags:
Access:  public


[ Top ]
mixed   $cu [line 29]

ZedSeriesControllerUtils instance

API Tags:
Access:  public


[ Top ]
mixed   $wz [line 31]
API Tags:
Access:  public


[ Top ]
Methods
Constructor __construct  [line 36]

  ZedSeriesWizardHelper __construct( )


API Tags:
Access:  public


[ Top ]
buildStepFromDca  [line 112]

  void buildStepFromDca( array $arrFields, array $arrDca, string $tableName, [array $arrValues = array()]  )

build a list of step from a DCA (Data Configuration Array)

Parameters:
array   $arrFields:  a list of fields to include in generated step
array   $arrDca:  dca from which you want to take fields
string   $tableName:  table name related to dca
array   $arrValues:  an associative array of field => defaul value to assign

API Tags:
Access:  protected


[ Top ]
getSettings  [line 83]

  mixed getSettings( )

you can override this in extended class to specify you own configuration settings


API Tags:
Return:  a string that indicates the ini file settings or an instance of ZedSeriesIniConfigWizard
Access:  protected


[ Top ]
getSteps  [line 73]

  array getSteps( )


API Tags:
Return:  an array of steps
Abstract:  
Access:  protected


[ Top ]
getValidators  [line 97]

  array getValidators( )

you can override this in extended class to specify you own custom validators callback

default to array i.e. no validator beyond widget built-in


API Tags:
Return:  an associative array as 'fieldName' => array($objValidator, 'methodValidator')
Access:  protected


[ Top ]
initWizard  [line 42]

  void initWizard( )


API Tags:
Access:  public


[ Top ]
run  [line 55]

  void run( )

return mixed string with html code or array of values


API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 22 Oct 2010 17:37:34 +0200 by phpDocumentor 1.4.1