Docs For Class atkWizard
Atk API home Class tree Element index

Todo list

Packages: » atk Classes: general » AllTests » atkConfig » atkController » atkDataNode » atkErrorHandlerBase » atkFileEditor » atkLanguage » atkMailErrorHandler » atkMetaNode » atkMockNode » atkNode » atkNodeValidator » atkOneToManyRelationSessionGridHandler » atkPHPView » atkSessionStore » atkStatementIterator » atkTreeNode » atkWizardBase » atkZendPlatformErrorHandler » clsTbsDataSource » clsTbsLocator » clsTinyButStrong » clsTinyButStrongOOo » FCKeditor » getSupportedLanguagesCollector » layout » node » sql_whereclause_blacklist_checker » test » tree utils » atkAbstractFrame » atkActionListener » atkClassFinder » atkClassLoader » atkCompatSelector » atkDataHolder » atkDebugger » atkDirectoryTraverser » atkEventLog » atkFileUtils » atkFrame » atkFrameSet » atkIpUtils » atkJSON » atkMail » atkMailer » atkMessageQueue » atkMLSelector » atkmlsplitter » atkRootFrameset » atkSelector » atkSelectorIterator » atkString » atkStringParser » atkTableRenderer » atkTableRendererGrouped » atkTextMarker » atkTmpFile » atkTriggerListener » atkYAML » atkZip » browserInfo fixture » atkAbstractFixtureLoader » atkFixtureManager » atkPHPFixtureLoader » atkYAMLFixtureLoader testcases » atkAbstractSearchHandler ui » atkActionBoxBuilder » atkDialog » atkIndexPage » atkOutput » atkPage » atkPageBuilder » atkTheme » atkThemeCompiler » atkUI handlers » atkActionHandler » atkAddHandler » atkAddOrCopyHandler » atkAdminHandler » atkAttributeEditHandler » atkCopyHandler » atkDeleteHandler » atkDocumentHandler » atkEditCopyHandler » atkEditHandler » atkExportHandler » atkFeedbackHandler » atkFileExport » atkImportHandler » atkMultiSelectHandler » atkMultiUpdatehandler » atkSaveHandler » atkSearchHandler » atkSelectHandler » atkSmartSearchHandler » atkUpdatehandler » atkViewEditBase » atkViewHandler » atkXmlHandler attributes » atkAggregatedColumn » atkAttribute » atkBoolAttribute » atkCalculatorAttribute » atkCaptchaAttribute » atkColorPickerAttribute » atkCountryAttribute » atkCreatedByAttribute » atkCreateStampAttribute » atkCurrencyAttribute » atkDateAttribute » atkDateTimeAttribute » atkDocumentAttribute » atkDummyAttribute » atkDurationAttribute » atkEmailAttribute » atkExpressionAttribute » atkFckAttribute » atkFieldSet » atkFileAttribute » atkFileWriterAttribute » atkFlagAttribute » atkFormatAttribute » atkFuzzySearchAttribute » atkHiddenAttribute » atkHtmlAttribute » atkIpAttribute » atkListAttribute » atkLiveTextPreview » atkMlAttribute » atkMlFckAttribute » atkMlHtmlAttribute » atkMlNumberAttribute » atkMlSelectorAttribute » atkMlTextAttribute » atkMlWrapper » atkMultipleFileAttribute » atkMultiSelectAttribute » atkNumberAttribute » atkParserAttribute » atkPasswordAttribute » atkProfileAttribute » atkRadioAttribute » atkRadioDetailsAttribute » atkRowCounter » atkStateAttribute » atkTabbedPane » atkTagAttribute » atkTextAttribute » atkTimeAttribute » atkTimeZoneAttribute » atkToolbar » atkUpdatedByAttribute » atkUpdateStampAttribute » atkUrlAttribute » atkWeekdayAttribute » atkWysiwygAttribute datatypes » atkArrayDt » atkDataType » atkStringDt » atkTime subpackage » atkAttributeTestCase security » atkBajusEncryption » atkBase64Encryption » atkEncryption » atkMockSecurityManager » atkOpenSSLEncryption » atkSecurityListener » atkSecurityManager » atkUrlVault » auth_config » auth_db » auth_imap » auth_interface » auth_ldap » auth_none » auth_pop3 » auth_saml » auth_server » auth_sspi cache » atkCache » atkCache_apc » atkCache_eaccelerator » atkCache_file » atkCache_memcache » atkCache_var » atkCache_xcache » atkCache_zp_disk » atkCache_zp_output » atkCache_zp_shm test » atkCacheTestCase » atkPluginTestCase » atkTestCase » test_sql_whereclause_blacklist_checker db » atkClusterDb » atkClusterDDL » atkClusterQuery » atkDb » atkdb2db » atkDb2DDL » atkDb2Query » atkDDL » atki5db » atki5DDL » atki5query » atkMockDb » atkMockDDL » atkMockQuery » atkMsSqlDb » atkMsSqlDDL » atkMssqlQuery » atkMysqlDb » atkMysqlDDL » atkMysqliDb » atkMysqliDDL » atkMysqliQuery » atkMysqlQuery » atkOci8Db » atkOci8DDL » atkOci8Query » atkOci9Db » atkOci9DDL » atkOci9Query » atkOci805Db » atkOci805Query » atkPgsqlDb » atkPgsqlDDL » atkPgsqlQuery » atkQuery recordlist » atkColumnConfig » atkCSVRecordList » atkCustomRecordList » atkExcelCSVRecordList » atkHTMLRecordList » atkPrintableRecordList » atkRecordList » atkRecordlistCache » atkTotalizer db-statement » atkCompatStatement » atkMySQLiStatement » atkStatement » atkStatementException » atkStatementParser console » atkConsoleController menu » atkcookmenu » atkDhtmlMenu » atkDropdownMenu » atkFramesMenu » atkMenu » atkmenuinterface » atkModernMenu » atkOutlookMenu » atkPlainMenu datagrid » atkDataGrid » atkDGComponent » atkDGEditControl » atkDGEvent » atkDGIndex » atkDGLimit » atkDGList » atkDGNoRecordsFound » atkDGPaginator » atkDGRenderer » atkDGSummary lock » atkDbLock » atkLock filters » atkDistinctFilter » atkFilter » atkGroupByFilter document » atkDocumentWriter » atkDocxWriter » atkOpenDocumentWriter meta » atkDutchMetaGrammar » atkMetaAttributeModifier » atkMetaCompiler » atkMetaGrammar » atkMetaPolicy » mod_meta relations » atkExtendableShuttleRelation » atkManyBoolRelation » atkManyToManyListRelation » atkManyToManyRelation » atkManyToManySelectRelation » atkManyToOneRelation » atkManyToOneTreeRelation » atkMatrixRelation » atkOneToManyRelation » atkOneToOneRelation » atkPolymorphicOneToOneRelation » atkRelation » atkSecureRelation » atkShuttleControl » atkShuttleFilter » atkShuttleRelation front » atkFrontController » atkFrontControllerBridge keyboard » atkKeyboard meta-relations » atkMetaExtendableShuttleRelation » atkMetaManyBoolRelation » atkMetaManyToManyListRelation » atkMetaManyToManySelectRelation » atkMetaManyToOneRelation » atkMetaOneToManyRelation » atkMetaOneToOneRelation » atkMetaShuttleRelation session » atkMockSessionManager » atkSessionManager » atkState modules » atkModule » mod_test listeners » atkRecycleBin interface » atkServer » atkSoapServer wizard » atkWizard » AtkWizardActionLoader » atkWizardPanel
Interfaces: datagrid » atkDGListener interface » atkServerInterface
Files: general » adodb-time.inc.php » AllTests.php » atknodetools.inc » atktools.inc » atktreetools.inc » basexml.php » bootstrap.inc » bootstrap.php » class.atkconfig.inc » class.atkcontroller.inc » class.atkdatanode.inc » class.atkerrorhandlerbase.inc » class.atkfileeditor.inc » class.atki5db.inc » class.atki5ddl.inc » class.atki5query.inc » class.atklanguage.inc » class.atkmailerrorhandler.inc » class.atkmetanode.inc » class.atkmocknode.inc » class.atkmocksessionmanager.inc » class.atknode.inc » class.atknodevalidator.inc » class.atkonetomanyrelationsessiongridhandler.inc » class.atkphpview.inc » class.atkpolymorphiconetoonerelation.inc » class.atksessionstore.inc » class.atkstatementiterator.inc » class.atktreenode.inc » class.atkwizardbase.inc » class.atkzendplatformerrorhandler.inc » class.layout.inc » class.nodename.inc » class.sql_whereclause_blacklist_checker.inc » class.test.inc » class.test_sql_whereclause_blacklist_checker.inc » commands.php » config.modules.inc » config.php » connector.php » console.php » db2yaml.php » defaultconfig.inc.php » fckeditor.php » fckeditor_php4.php » fckeditor_php5.php » io.php » module.inc » phpcompat.php » server.php » spellchecker.php » table2yaml.php » tbsooo_class.php » tbs_class.php » tooltip.tpl.php » upload.php » util.php » version.inc attributes » class.atkaggregatedcolumn.inc » class.atkattribute.inc » class.atkboolattribute.inc » class.atkcalculatorattribute.inc » class.atkcaptchaattribute.inc » class.atkcolorpickerattribute.inc » class.atkcountryattribute.inc » class.atkcreatedbyattribute.inc » class.atkcreatestampattribute.inc » class.atkcurrencyattribute.inc » class.atkdateattribute.inc » class.atkdatetimeattribute.inc » class.atkdocumentattribute.inc » class.atkdummyattribute.inc » class.atkdurationattribute.inc » class.atkemailattribute.inc » class.atkexpressionattribute.inc » class.atkfckattribute.inc » class.atkfieldset.inc » class.atkfileattribute.inc » class.atkfilewriterattribute.inc » class.atkflagattribute.inc » class.atkformatattribute.inc » class.atkfuzzysearchattribute.inc » class.atkhiddenattribute.inc » class.atkhtmlattribute.inc » class.atkipattribute.inc » class.atklistattribute.inc » class.atklivetextpreview.inc » class.atkmlattribute.inc » class.atkmlfckattribute.inc » class.atkmlhtmlattribute.inc » class.atkmlnumberattribute.inc » class.atkmlselectorattribute.inc » class.atkmltextattribute.inc » class.atkmlwrapper.inc » class.atkmultiplefileattribute.inc » class.atkmultiselectattribute.inc » class.atknumberattribute.inc » class.atkparserattribute.inc » class.atkpasswordattribute.inc » class.atkprofileattribute.inc » class.atkradioattribute.inc » class.atkradiodetailsattribute.inc » class.atkrowcounter.inc » class.atkstateattribute.inc » class.atktabbedpane.inc » class.atktagattribute.inc » class.atktextattribute.inc » class.atktimeattribute.inc » class.atktimezoneattribute.inc » class.atktoolbar.inc » class.atkupdatedbyattribute.inc » class.atkupdatestampattribute.inc » class.atkurlattribute.inc » class.atkweekdayattribute.inc » class.atkwysiwygattribute.inc attributes-- » property_accessor.php cache » class.atkcache.inc » class.atkcache_apc.inc » class.atkcache_eaccelerator.inc » class.atkcache_file.inc » class.atkcache_memcache.inc » class.atkcache_var.inc » class.atkcache_xcache.inc » class.atkcache_zp_disk.inc » class.atkcache_zp_output.inc » class.atkcache_zp_shm.inc console » class.atkconsolecontroller.inc datagrid » class.atkdatagrid.inc » class.atkdgcomponent.inc » class.atkdgeditcontrol.inc » class.atkdgevent.inc » class.atkdgindex.inc » class.atkdglimit.inc » class.atkdglist.inc » class.atkdglistener.inc » class.atkdgnorecordsfound.inc » class.atkdgpaginator.inc » class.atkdgrenderer.inc » class.atkdgsummary.inc datatypes » class.atkarraydt.inc » class.atkdatatype.inc » class.atkstringdt.inc » class.atktimedt.inc db » class.atkclusterdb.inc » class.atkclusterddl.inc » class.atkclusterquery.inc » class.atkdb.inc » class.atkdb2db.inc » class.atkdb2ddl.inc » class.atkdb2query.inc » class.atkddl.inc » class.atkmockdb.inc » class.atkmockddl.inc » class.atkmockquery.inc » class.atkmssqldb.inc » class.atkmssqlddl.inc » class.atkmssqlquery.inc » class.atkmysqldb.inc » class.atkmysqlddl.inc » class.atkmysqlidb.inc » class.atkmysqliddl.inc » class.atkmysqliquery.inc » class.atkmysqlquery.inc » class.atkoci8db.inc » class.atkoci8ddl.inc » class.atkoci8query.inc » class.atkoci9db.inc » class.atkoci9ddl.inc » class.atkoci9query.inc » class.atkoci805db.inc » class.atkoci805query.inc » class.atkpgsqldb.inc » class.atkpgsqlddl.inc » class.atkpgsqlquery.inc » class.atkquery.inc db-statement » class.atkcompatstatement.inc » class.atkmysqlistatement.inc » class.atkstatement.inc » class.atkstatementexception.inc » class.atkstatementparser.inc document » class.atkdocumentwriter.inc » class.atkdocxwriter.inc » class.atkopendocumentwriter.inc filters » class.atkdistinctfilter.inc » class.atkfilter.inc » class.atkgroupbyfilter.inc fixture » class.atkabstractfixtureloader.inc » class.atkfixturemanager.inc » class.atkphpfixtureloader.inc » class.atkyamlfixtureloader.inc front » class.atkfrontcontroller.inc » class.atkfrontcontrollerbridge.inc handlers » class.atkactionhandler.inc » class.atkaddhandler.inc » class.atkaddorcopyhandler.inc » class.atkadminhandler.inc » class.atkattributeedithandler.inc » class.atkcopyhandler.inc » class.atkdeletehandler.inc » class.atkdocumenthandler.inc » class.atkeditcopyhandler.inc » class.atkedithandler.inc » class.atkexporthandler.inc » class.atkfeedbackhandler.inc » class.atkfileexport.inc » class.atkimporthandler.inc » class.atkmultiselecthandler.inc » class.atkmultiupdatehandler.inc » class.atksavehandler.inc » class.atksearchhandler.inc » class.atkselecthandler.inc » class.atksmartsearchhandler.inc » class.atkupdatehandler.inc » class.atkvieweditbase.inc » class.atkviewhandler.inc » class.atkxmlhandler.inc include » autoload.inc » basics.inc » compatibility.inc » configs.inc » debugging.inc » errorhandler.inc » globals.inc » initial.inc » security.inc interface » class.atkserver.inc » class.atksoapserver.inc » interface.atkserverinterface.inc javascript » class.atkmultilanguage.js.php » class.atkprofileattribute.js.php » dhtml_tabs.js.php keyboard » class.atkkeyboard.inc listeners » class.atkrecyclebin.inc lock » class.atkdblock.inc » class.atklock.inc » lock.php lock-- » lock.js.php menu » atkmenutools.inc » class.atkcookmenu.inc » class.atkdhtmlmenu.inc » class.atkdropdownmenu.inc » class.atkframesmenu.inc » class.atkmenu.inc » class.atkmenuinterface.inc » class.atkmodernmenu.inc » class.atkoutlookmenu.inc » class.atkplainmenu.inc meta » class.atkdutchmetagrammar.inc » class.atkmetaattributemodifier.inc » class.atkmetacompiler.inc » class.atkmetagrammar.inc » class.atkmetapolicy.inc » module.inc meta-relations » class.atkmetaextendableshuttlerelation.inc » class.atkmetamanyboolrelation.inc » class.atkmetamanytomanylistrelation.inc » class.atkmetamanytomanyselectrelation.inc » class.atkmetamanytoonerelation.inc » class.atkmetaonetomanyrelation.inc » class.atkmetaonetoonerelation.inc » class.atkmetashuttlerelation.inc modules » class.atkmodule.inc modules-- » atkmoduletools.inc popups » colorpicker.inc recordlist » class.atkcolumnconfig.inc » class.atkcsvrecordlist.inc » class.atkcustomrecordlist.inc » class.atkexcelcsvrecordlist.inc » class.atkhtmlrecordlist.inc » class.atkprintablerecordlist.inc » class.atkrecordlist.inc » class.atkrecordlistcache.inc » class.atktotalizer.inc relations » class.atkextendableshuttlerelation.inc » class.atkmanyboolrelation.inc » class.atkmanytomanylistrelation.inc » class.atkmanytomanyrelation.inc » class.atkmanytomanyselectrelation.inc » class.atkmanytoonerelation.inc » class.atkmanytoonetreerelation.inc » class.atkmatrixrelation.inc » class.atkonetomanyrelation.inc » class.atkonetoonerelation.inc » class.atkrelation.inc » class.atksecurerelation.inc » class.atkshuttlecontrol.inc » class.atkshuttlefilter.inc » class.atkshuttlerelation.inc security » class.atkbajusencryption.inc » class.atkbase64encryption.inc » class.atkencryption.inc » class.atkmocksecuritymanager.inc » class.atkmocksecuritymanager.inc » class.atkopensslencryption.inc » class.atksecuritylistener.inc » class.atksecuritymanager.inc » class.atkurlvault.inc » class.auth_config.inc » class.auth_db.inc » class.auth_imap.inc » class.auth_interface.inc » class.auth_ldap.inc » class.auth_none.inc » class.auth_pop3.inc » class.auth_saml.inc » class.auth_server.inc » class.auth_sspi.inc session » class.atksessionmanager.inc » class.atkstate.inc skel » app.php » atk.inc » config.inc.php » debugger.php » dispatch.php » include.php » index.php » menu.php » top.php » welcome.php subpackage » class.atkattributetestcase.inc test » class.atkcachetestcase.inc » class.atkplugintestcase.inc » class.atktestcase.inc testcases » class.atkabstractsearchhandler.inc themes » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc ui » block.atknavigator.php » block.atknavigatorinfo.php » class.atkactionboxbuilder.inc » class.atkdialog.inc » class.atkindexpage.inc » class.atkoutput.inc » class.atkpage.inc » class.atkpagebuilder.inc » class.atktheme.inc » class.atkthemecompiler.inc » class.atkui.inc » function.atkconf.php » function.atkconfig.php » function.atkdatefield.php » function.atkdispatchfile.php » function.atkfrontcontroller.php » function.atkloadscript.php » function.atkmessages.php » function.atkmoduledir.php » function.atkscript.php » function.atkstyle.php » function.atktext.php » function.atkthemeicon.php » function.atkthemeimg.php » function.stacktrace.php » modifier.atkjson.php » modifier.atkvardump.php » resource.string.php » resource.theme.php » resource.ui.php utils » atkbrowsertools.inc » class.atkactionlistener.inc » class.atkclassloader.inc » class.atkcompatselector.inc » class.atkdataholder.inc » class.atkdebugger.inc » class.atkdirectorytraverser.inc » class.atkeventlog.inc » class.atkfileutils.inc » class.atkframeset.inc » class.atkiputils.inc » class.atkjson.inc » class.atkmail.inc » class.atkmailer.inc » class.atkmessagequeue.inc » class.atkmlselector.inc » class.atkmlsplitter.inc » class.atkselector.inc » class.atkselectoriterator.inc » class.atkstring.inc » class.atkstringparser.inc » class.atktablerenderer.inc » class.atktablerenderergrouped.inc » class.atktextmarker.inc » class.atktmpfile.inc » class.atktriggerlistener.inc » class.atkyaml.inc » class.atkzip.inc » help.inc wizard » class.atkwizard.inc » class.atkwizardactionloader.inc » class.atkwizardpanel.inc
Home  ->  Documentation home  ->  Atk index  ->  Docs For Class atkWizard [ package: atk ]

Class: atkWizard

Source Location: /wizard/class.atkwizard.inc

Class atkWizard

Class Overview

atkWizard class which is capable of using atknodes as wizardpanels.

This class makes the distinction between update/save and navigation actions from the wizard and respondis correspondingly.

atkWizard's highest baseclass is atkController. When an atkWizard is created and becomes the controller of the atkapp, it will stay the controller untill we take a non wizard specific action.

Located in /wizard/class.atkwizard.inc [line 51]

Wiki documentation

atkController
   |
   --atkWizardBase
      |
      --atkWizard
Author(s): Information Tags:

Properties

Methods

[ Top ]

Inherited from parent

Inherited Properties Inherited Methods

Inherited From atkController

atkController::$m_hidden_vars
atkController::$m_module_name
atkController::$m_name
atkController::$m_node
atkController::$m_php_file
atkController::$m_postvars
atkController::$m_return_output

Inherited From atkWizardBase

atkWizardBase::atkWizardBase()
Constructor of atkWizardBase
atkWizardBase::getFormButtons()
Returns the form buttons for a certain page.
atkWizardBase::showFinishButton()
Determine if this panel should show a finish button

Inherited From atkController

atkController::atkController()
Constructor of atkController
atkController::accessDeniedPage()
Render a generic access denied page.
atkController::actionPageTitle()
Return the title to be show on top of an Action Page
atkController::createInstance()
Return the one and only instance of the class
atkController::dispatch()
This method is a wrapper for calling the node dispatch function Therefore each node can define it's own dispatch function The default dispatch function of the atkNode will call the handleRequest function of the controller
atkController::dispatchUrl()
Generate a dispatch menu URL for use with nodes and their specific actions.
atkController::feedbackUrl()
Determine the url for the feedbackpage.
atkController::genericPage()
Render a generic page, with a box, title, stacktrace etc.
atkController::getButton()
Create a button.
atkController::getDialogButton()
Create a dialog button.
atkController::getFormButtons()
Returns the form buttons for a certain page.
atkController::getHiddenVars()
Return m_hidden_vars array.
atkController::getHiddenVarsString()
Return m_hidden_vars as html input types.
atkController::getHtmlTitle()
Return the html title for the content frame. Default we show node name and action.
atkController::getInstance()
Return the one and only instance of the class
atkController::getModuleName()
Return module name of controller
atkController::getName()
Return controller name
atkController::getNode()
Get m_node variable or if not set make instance of atkNode class (determined by using the postvars)
atkController::getPage()
Return a reference to the atkPage object. This object is used to render output as an html page.
atkController::getPhpFile()
Return php_file. If not set, returns theme-level dispatchfile, if not set either, return (sanitized) PHP_SELF
atkController::getReturnOutput()
Return the setting for returning output
atkController::getUi()
Get the ui instance for drawing and templating purposes.
atkController::handleRequest()
This is the wrapper method for all http requests on a node.
atkController::invoke()
Generic method invoker (copied from class.atkactionhandler.inc).
atkController::loadDispatchPage()
Does the actual loading of the dispatch page And adds it to the page for the dispatch() method to render.
atkController::renderActionPage()
Render a generic action.
atkController::setHiddenVar()
Set Key/value pair in m_hidden_vars array. Saved pairs are send as post or get vars in the next page load
atkController::setNode()
Set m_node variable of this class
atkController::setPhpFile()
Set php_file member variable
atkController::setReturnOutput()
Configure if you want the html returned or leave it up to atkOutput.
atkController::_instance()
Create instance of controller (determined by class variable) if not yet created, return instance of atkcontroller

[ Top ]

Property Summary

array   $m_currentPanelIndex   Index of panel which is currently shown or processed
array   $m_hiddenParams   Key-value array which will be added as hidden value in edit/add forms
bool   $m_isWizardInitiated   It can com in handy to know if we are at the start of the wizard and have not performed any wizard actions.
array   $m_mode   The mode in which the wizard is run (add/edit).
int   $m_page_flags   Value needed by atkPage to render the content of a page. Default we need to render a complete html page, but it might be necesary to only render the content part.
array   $m_panelIndex   Key/value array containing panel name as key and index as value
array   $m_panelList   Array of panels First item is first to show in wizard
array   $m_redirectParams   Key-value array which will be url when redirecting to a new page
object   $m_self   We use a reference to ourselfs because we pass data to the wizardpanel which has a reference to its wizard parent.
string   $m_wizardAction   Action to perform in the wizard. Actions can be: next, finish, saveandnext, saveandaddnew.

[ Top ]

Method Summary

atkWizard   atkWizard()   Constructor
string   actionPageTitle()   Return the title to be show on top of an Action Page. This is an override of the atkController::actionPageTitle function.
void   addPanel()   Add wizardpanel to the wizard. Only objects of type atkWizardPanel can be added. The order of additions to the wizard determines order in which the panels are shown.
void   checkWizardInitiationStatus()   This function is called from the constructor to check if the wizard goes through the initialisation. This means that the first panel is shown and no wizard actions have been taken.
void   collectWizardSessionData()   This function is called from the constructor. Its basic function is to collect wizard information from the session stack. To run the wizard we need to be able to use atk's session stack. Default it is turned on, but it might be turned off explicitly.
void   finish()   Finish the wizard
object of   &getCurrentPanel()   Return the current active panel object.
array   getHiddenParam()   Return the hidden params
define   getMode()   Get the wizard mode
string   getWizardAction()   Return the current wizardaction
String   handleRequest()   Main execution function (start of the wizard). Every page load will go through this function. This function overrides atkController::handleRequest but it always calls its parent in the end.
bool   isFinishPanel()   Return if this panel is the last one in the wizard
bool   save()   We are saving a newly added record. On success or failure ATK will redirect.
void   setHiddenParam()   Collect the variables which should be set as hidden input fields in forms.
void   setHtmlTitle()   Set the value of the html meta tag. This is an override of the atkcontroller::setHtmlTitle.
void   setMode()   Set the wizard mode. Options: WIZARD_MODE_ADD (default), WIZARD_MODE_EDIT
void   setPageFlags()   Set a defined value needed by atkPage to render the content of a page. Default we need to render a complete html (HTML_ALL) page, but it might be necesary to only render the content part.
void   setRedirectParam()   Collect the variables which should be added to the redirect url.
void   wizardDispatch()   Determine the wizardPanel to load and let the wizardpanel do some dispatching too.

[ Top ]

Properties

array   $m_currentPanelIndex = 0 [line 102]

Index of panel which is currently shown or processed

API Tags:
Access:  private


[ Top ]
array   $m_hiddenParams = array() [line 86]

Key-value array which will be added as hidden value in edit/add forms

API Tags:
Access:  private


[ Top ]
bool   $m_isWizardInitiated [line 136]

It can com in handy to know if we are at the start of the wizard and have not performed any wizard actions.


[ Top ]
array   $m_mode = WIZARD_MODE_ADD [line 78]

The mode in which the wizard is run (add/edit).

Default is add

API Tags:
Access:  private


[ Top ]
int   $m_page_flags = HTML_ALL [line 111]

Value needed by atkPage to render the content of a page. Default we need to render a complete html page, but it might be necesary to only render the content part.


[ Top ]
array   $m_panelIndex = array() [line 69]

Key/value array containing panel name as key and index as value

API Tags:
Access:  private


[ Top ]
array   $m_panelList = array() [line 60]

Array of panels First item is first to show in wizard

API Tags:
Access:  private


[ Top ]
array   $m_redirectParams = array() [line 94]

Key-value array which will be url when redirecting to a new page

API Tags:
Access:  private


[ Top ]
object   $m_self [line 120]

We use a reference to ourselfs because we pass data to the wizardpanel which has a reference to its wizard parent.

API Tags:
Access:  private


[ Top ]
string   $m_wizardAction [line 128]

Action to perform in the wizard. Actions can be: next, finish, saveandnext, saveandaddnew.


[ Top ]

Methods

Constructor atkWizard  [line 143]

  atkWizard atkWizard( )

Constructor



[ Top ]
actionPageTitle  [line 484]

  string actionPageTitle( )

Return the title to be show on top of an Action Page. This is an override of the atkController::actionPageTitle function.

We now want to show the wizard name, wizard panel and which step we are at.


API Tags:
Return:  The title
Access:  public


Redefinition of:
atkController::actionPageTitle()
Return the title to be show on top of an Action Page

[ Top ]
addPanel  [line 235]

  void addPanel( &$atkWizardPanel, object $atkWizardPanel  )

Add wizardpanel to the wizard. Only objects of type atkWizardPanel can be added. The order of additions to the wizard determines order in which the panels are shown.

Parameters:
object   $atkWizardPanel: 
   &$atkWizardPanel: 

API Tags:
Access:  public


[ Top ]
checkWizardInitiationStatus  [line 167]

  void checkWizardInitiationStatus( )

This function is called from the constructor to check if the wizard goes through the initialisation. This means that the first panel is shown and no wizard actions have been taken.

We check this by saving searching the sessing for the var 'wizard_initiation_level'. If it does not exist we fill it with the current atkLevel.


API Tags:
Access:  private


[ Top ]
collectWizardSessionData  [line 192]

  void collectWizardSessionData( )

This function is called from the constructor. Its basic function is to collect wizard information from the session stack. To run the wizard we need to be able to use atk's session stack. Default it is turned on, but it might be turned off explicitly.


API Tags:
Access:  private


[ Top ]
finish  [line 380]

  void finish( )

Finish the wizard

This function can be overriden in the your extended wizard class.

TODO/FIXME It would be even more cool if wizardpanels could listen to the finish action and be notified of this action/event.


API Tags:
Access:  protected


[ Top ]
getCurrentPanel  [line 430]

  object of &getCurrentPanel( )

Return the current active panel object.


API Tags:
Return:  type atkWizardPanel
Access:  public


[ Top ]
getHiddenParam  [line 408]

  array getHiddenParam( )

Return the hidden params


API Tags:
Access:  public


[ Top ]
getMode  [line 222]

  define getMode( )

Get the wizard mode


API Tags:
Return:  value
Access:  public


[ Top ]
getWizardAction  [line 497]

  string getWizardAction( )

Return the current wizardaction


API Tags:
Return:  wizardaction (eg next, saveandnext, saveandaddnew, finish).
Access:  public


[ Top ]
handleRequest  [line 248]

  String handleRequest( )

Main execution function (start of the wizard). Every page load will go through this function. This function overrides atkController::handleRequest but it always calls its parent in the end.


API Tags:
Return:  The html output
Access:  public


Redefinition of:
atkController::handleRequest()
This is the wrapper method for all http requests on a node.

[ Top ]
isFinishPanel  [line 446]

  bool isFinishPanel( string $name  )

Return if this panel is the last one in the wizard

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
save  [line 352]

  bool save( string $atkwizardaction  )

We are saving a newly added record. On success or failure ATK will redirect.

On failure the session stack of the previous level is loaded to show the same wizardpanel again (now with error message). On succes we need to set some redirect vars to make sure we go to the next wizardpanel.

Parameters:
string   $atkwizardaction:  The wizard action for redirecting

API Tags:
Return:  on successfully executing this function
Access:  protected


[ Top ]
setHiddenParam  [line 398]

  void setHiddenParam( string $key, mixed $value  )

Collect the variables which should be set as hidden input fields in forms.

Save them in a key/value array.

Parameters:
string   $key: 
mixed   $value: 

API Tags:
Access:  public


[ Top ]
setHtmlTitle  [line 471]

  void setHtmlTitle( )

Set the value of the html meta tag. This is an override of the atkcontroller::setHtmlTitle.

We now want to show the wizard name, wizard panel and which step we are at.


API Tags:
Access:  public


[ Top ]
setMode  [line 212]

  void setMode( [integer $mode = WIZARD_MODE_ADD]  )

Set the wizard mode. Options: WIZARD_MODE_ADD (default), WIZARD_MODE_EDIT

Parameters:
integer   $mode: 

API Tags:
Access:  public


[ Top ]
setPageFlags  [line 461]

  void setPageFlags( define $flag  )

Set a defined value needed by atkPage to render the content of a page. Default we need to render a complete html (HTML_ALL) page, but it might be necesary to only render the content part.

Parameters:
define   $flag: 

API Tags:
Access:  public


[ Top ]
setRedirectParam  [line 420]

  void setRedirectParam( string $key, mixed $value  )

Collect the variables which should be added to the redirect url.

Save them in a key/value array.

Parameters:
string   $key: 
mixed   $value: 

API Tags:
Access:  public


[ Top ]
wizardDispatch  [line 308]

  void wizardDispatch( String $atkWizardaction  )

Determine the wizardPanel to load and let the wizardpanel do some dispatching too.

Parameters:
String   $atkWizardaction: 

API Tags:
Access:  protected


[ Top ]
Home | About | Contact