Docs For Class atkController
Atk API home Class tree Element index

Todo list

Packages: » atk Classes: skel- » atkAppSuite utils » atkAbstractFrame » atkActionListener » atkClassFinder » atkClassLoader » atkDataHolder » atkDebugger » atkDirectoryTraverser » atkEventLog » atkFileUtils » atkFrame » atkFrameSet » atkIpUtils » atkJSON » atkMail » atkMailer » atkMessageQueue » atkmlsplitter » atkNavigator » atkRootFrameset » atkSelector » atkString » atkStringParser » atkTableRenderer » atkTableRendererGrouped » atkTextMarker » atkTmpFile » atkTriggerListener » atkYAML » atkZip » browserInfo » listenerTest » simplevisitor » testNode » test_atkactionlistener » test_atkclassloader » test_atkcolumnconfig » test_atkDirectoryTraverser » test_atklistattribute » test_atkStringParser » test_atkTextMarker general » atkConfig » atkController » atkDataNode » atkErrorHandlerBase » atkFileEditor » atkLanguage » atkMailErrorHandler » atkMetaNode » atkMockNode » atkNode » atkNodeValidator » atkSessionStore » atkTreeNode » atkWizardBase » atkZendPlatformErrorHandler » clsTbsDataSource » clsTbsLocator » clsTinyButStrong » clsTinyButStrongOOo » FCKeditor » getSupportedLanguagesCollector » layout » node » sql_whereclause_blacklist_checker » test » tree » triggerNode fixture » atkAbstractFixtureLoader » atkFixtureManager » atkPHPFixtureLoader » atkYAMLFixtureLoader testcases » atkAbstractSearchHandler » DateAttributeWrapper » dummyTagAttribute » Stub_atkNew » test_atkattributeedithandler » test_atkBoolAttribute » test_atkCalculatorAttribute » test_atkcolorpickerattribute » test_atkDataGrid » test_atkdatanode » test_atkDateAttribute » test_atkFileAttribute » test_atkfrontcontroller » test_atkiputils » test_atkManyToOneRelation » test_atknode » test_atkRelation » test_atktagattribute » test_atkwizard » test_tabs » uriPartsFrontControllerMock 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 » test_atkimporthandler 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 » atkHtmlAttribute » atkIpAttribute » atkListAttribute » atkLiveTextPreview » atkMlAttribute » 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 » test_atkattribute » test_atkmultiselectattribute » test_atktextattribute 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_server » auth_sspi » test_atkMockSecurityManager » test_atkUrlVault cache » atkCache » atkCache_apc » atkCache_eaccelerator » atkCache_file » atkCache_memcache » atkCache_var » atkCache_xcache » atkCache_zp_disk » atkCache_zp_output » atkCache_zp_shm » test_atkcache_apc » test_atkcache_eaccelerator » test_atkcache_file » test_atkcache_memcache » test_atkcache_var » test_atkcache_xcache » test_atkcache_zp_disk » test_atkcache_zp_output » test_atkcache_zp_shm test » ArrayHtmlReporter » ArrayTextReporter » atkCacheTestCase » atkPHPUnitTestCaseCollector » atkPluginTestCase » atkSimpleTestTestCaseCollector » atkTestCase » atkTestCaseCollector » atkTestReporter » atkTestSuite » atkTestTraverser » test_atkMockNode » test_atktestcase » test_atktools » Test_DbConfigs » test_sql_whereclause_blacklist_checker » test_tabsecurity » test_triggers db » atkClusterDb » atkClusterDDL » atkClusterQuery » atkDb » atkDDL » atkMockDb » atkMockDDL » atkMockQuery » atkMsSqlDb » atkMsSqlDDL » atkMssqlQuery » atkMysqlDb » atkMysqlDDL » atkMysqliDb » atkMysqliDDL » atkMysqliQuery » atkMysqlQuery » atkOci8Db » atkOci8DDL » atkOci8Query » atkOci9Db » atkOci9DDL » atkOci9Query » atkOci805Db » atkOci805Query » atkPgsqlDb » atkPgsqlDDL » atkPgsqlQuery » atkQuery » test_atkdb recordlist » atkColumnConfig » atkCSVRecordList » atkCustomRecordList » atkExcelCSVRecordList » atkHTMLRecordList » atkPrintableRecordList » atkRecordList » atkRecordlistCache » atkTotalizer 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 » atkOneToManyRelationSessionGridHandler » atkOneToOneRelation » atkRelation » atkSecureRelation » atkShuttleControl » atkShuttleFilter » atkShuttleRelation front » atkFrontController » atkFrontControllerBridge keyboard » atkKeyboard meta-relations » atkMetaExtendableShuttleRelation » atkMetaManyBoolRelation » atkMetaManyToManyListRelation » atkMetaManyToManySelectRelation » atkMetaManyToOneRelation » atkMetaOneToManyRelation » atkMetaOneToOneRelation » atkMetaShuttleRelation modules » atkModule » mod_test interface » atkServer » atkSoapServer session » atkSessionManager » atkState wizard » atkWizard » AtkWizardActionLoader » atkWizardPanel attribute » test_atkcurrencyattribute » test_atknumberattribute
Interfaces: datagrid » atkDGListener interface » atkServerInterface
Files: general » adodb-time.inc.php » atknodetools.inc » atktools.inc » atktreetools.inc » basexml.php » class.atkconfig.inc » class.atkcontroller.inc » class.atkdatanode.inc » class.atkerrorhandlerbase.inc » class.atkfileeditor.inc » class.atklanguage.inc » class.atkmailerrorhandler.inc » class.atkmetanode.inc » class.atkmocknode.inc » class.atknode.inc » class.atknodevalidator.inc » class.atksessionstore.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 » class.test_triggers.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 » upload.php » util.php » version.inc attribute » class.test_atkcurrencyattribute.inc » class.test_atknumberattribute.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.atkhtmlattribute.inc » class.atkipattribute.inc » class.atklistattribute.inc » class.atklivetextpreview.inc » class.atkmlattribute.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 » class.test_atkattribute.inc » class.test_atkmultiselectattribute.inc » class.test_atktextattribute.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 » class.test_atkcache_apc.inc » class.test_atkcache_eaccelerator.inc » class.test_atkcache_file.inc » class.test_atkcache_memcache.inc » class.test_atkcache_var.inc » class.test_atkcache_xcache.inc » class.test_atkcache_zp_disk.inc » class.test_atkcache_zp_output.inc » class.test_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.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 » class.test_atkdb.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 » class.test_atkimporthandler.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 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.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_server.inc » class.auth_sspi.inc » class.test_atkmocksecuritymanager.inc » class.test_atkurlvault.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 » test.php » top.php » welcome.php skel- » atkappsuite.php subpackage » class.atkattributetestcase.inc test » class.atkcachetestcase.inc » class.atkphpunittestcasecollector.inc » class.atkplugintestcase.inc » class.atksimpletesttestcasecollector.inc » class.atktestcase.inc » class.atktestcasecollector.inc » class.atktestreporter.inc » class.atktestsuite.inc » class.atktesttraverser.inc » class.test_atkmocknode.inc » class.test_atktestcase.inc » class.test_atktools.inc » class.test_dbconfigs.inc » class.test_tabsecurity.inc testcases » class.atkabstractsearchhandler.inc » class.stub_atknew.inc » class.test_atkattributeedithandler.inc » class.test_atkboolattribute.inc » class.test_atkcalculatorattribute.inc » class.test_atkcolorpickerattribute.inc » class.test_atkdatagrid.inc » class.test_atkdatanode.inc » class.test_atkdateattribute.inc » class.test_atkfileattribute.inc » class.test_atkfrontcontroller.inc » class.test_atkiputils.inc » class.test_atkmanytoonerelation.inc » class.test_atknode.inc » class.test_atkrelation.inc » class.test_atktagattribute.inc » class.test_atkwizard.inc » class.test_tabs.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.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.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.atkmlsplitter.inc » class.atknavigator.inc » class.atkselector.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 » class.test_atkactionlistener.inc » class.test_atkclassloader.inc » class.test_atkcolumnconfig.inc » class.test_atkdirectorytraverser.inc » class.test_atklistattribute.inc » class.test_atkstringparser.inc » class.test_atktextmarker.inc » help.inc wizard » class.atkwizard.inc » class.atkwizardactionloader.inc » class.atkwizardpanel.inc
Home  ->  Documentation home  ->  Atk index  ->  Docs For Class atkController [ package: atk ]

Class: atkController

Source Location: /class.atkcontroller.inc

Class atkController

Descendants

Child Class Description
atkWizardBase atkWizard class which is capable of using atknodes

[ Top ]

Property Summary

Array   $m_hidden_vars   Key/value Array containing which are be send als post or get vars
String   $m_module_name   The module of the wizard.
String   $m_name   The name of the wizard.
unknown_type   $m_node   Reference to the instance of currently selected atkNode
string   $m_php_file   The file to use when creating url's
array   $m_postvars   The postvars in this pageload
unknown_type   $m_return_output   By this property is determined if the output of the handleRequest method should be returned as a string or the output should be outputted by atkOutput.

[ Top ]

Method Summary

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

[ Top ]

Properties

Array   $m_hidden_vars = array() [line 76]

Key/value Array containing which are be send als post or get vars

API Tags:
Access:  private


[ Top ]
String   $m_module_name [line 39]

The module of the wizard.

API Tags:
Access:  protected


[ Top ]
String   $m_name [line 31]

The name of the wizard.

API Tags:
Access:  protected


[ Top ]
unknown_type   $m_node = NULL [line 46]

Reference to the instance of currently selected atkNode


[ Top ]
string   $m_php_file = "" [line 60]

The file to use when creating url's


[ Top ]
array   $m_postvars = NULL [line 53]

The postvars in this pageload


[ Top ]
unknown_type   $m_return_output = false [line 69]

By this property is determined if the output of the handleRequest method should be returned as a string or the output should be outputted by atkOutput.


[ Top ]

Methods

Constructor atkController  [line 84]

  atkController atkController( )

Constructor of atkController


API Tags:
Return:  object


[ Top ]
accessDeniedPage  [line 333]

  String accessDeniedPage( )

Render a generic access denied page.


API Tags:
Return:  A complete html page with generic access denied message.


[ Top ]
actionPageTitle  [line 412]

  string actionPageTitle( )

Return the title to be show on top of an Action Page


API Tags:
Return:  The title


Redefined in descendants as:
  • atkWizard::actionPageTitle() : Return the title to be show on top of an Action Page. This is an override of the atkController::actionPageTitle function.

[ Top ]
createInstance  [line 150]

  object &createInstance( string $controller  )

Return the one and only instance of the class

Parameters:
string   $controller:  The class of the controller to instanciate


[ Top ]
dispatch  [line 243]

  void dispatch( array $postvars, [integer $flags = NULL]  )

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

Parameters:
array   $postvars: 
integer   $flags: 


[ Top ]
dispatchUrl  [line 466]

  string dispatchUrl( [ $params = array()], [string $atknodetype = ""], [string $file = ""], string $params:  )

Generate a dispatch menu URL for use with nodes and their specific actions.

Parameters:
string   $params::  A key/value array with extra options for the url
string   $atknodetype:  The atknodetype (modulename.nodename)
string   $file:  The php file to use for dispatching, defaults to dispatch.php
   $params: 

API Tags:
Return:  url for the node with the action


[ Top ]
feedbackUrl  [line 439]

  String feedbackUrl( String $action, int $status, [array $record = ""], [String $message = ""], [integer $levelskip = 1]  )

Determine the url for the feedbackpage.

Output is dependent on the feedback configuration. If feedback is not enabled for the action, this method returns an empty string, so the result of this method can be passed directly to the redirect() method after completing the action.

The $record parameter is ignored by the default implementation, but derived classes may override this method to perform record-specific feedback.

Parameters:
String   $action:  The action that was performed
int   $status:  The status of the action.
array   $record:  The record on which the action was performed.
String   $message:  An optional message to pass to the feedbackpage, for example to explain the reason why an action failed.
integer   $levelskip:  The number of levels to skip

API Tags:
Return:  The feedback url.


[ Top ]
genericPage  [line 358]

  String genericPage( String $title, mixed $content  )

Render a generic page, with a box, title, stacktrace etc.

Parameters:
String   $title:  The pagetitle and if $content is a string, also the boxtitle.
mixed   $content:  The content to display on the page. This can be:
  • A string which will be the content of a single box on the page.
  • An associative array of $boxtitle=>$boxcontent pairs. Each pair will be rendered as a seperate box.

API Tags:
Return:  A complete html page with the desired content.


[ Top ]
getButton  [line 562]

  HTML getButton( String $action, [Bool $default = false], [ $label = null]  )

Create a button.

Parameters:
String   $action: 
Bool   $default:  Add the atkdefaultbutton class?
   $label: 


[ Top ]
getDialogButton  [line 628]

  HTML getDialogButton( String $action, [String $label = null], [String $url = null], [array $extraParams = array()]  )

Create a dialog button.

Parameters:
String   $action:  The action ('save' or 'cancel')
String   $label:  The label for this button
String   $url: 
array   $extraParams: 


[ Top ]
getFormButtons  [line 488]

  void getFormButtons( String $mode, array $record  )

Returns the form buttons for a certain page.

Can be overridden by derived classes to define custom buttons.

Parameters:
String   $mode:  The action for which the buttons are retrieved.
array   $record:  The record currently displayed/edited in the form. This param can be used to define record specific buttons.


Redefined in descendants as:

[ Top ]
getHiddenVars  [line 670]

  array getHiddenVars( )

Return m_hidden_vars array.



[ Top ]
getHiddenVarsString  [line 703]

  string getHiddenVarsString( )

Return m_hidden_vars as html input types.



[ Top ]
getHtmlTitle  [line 228]

  void getHtmlTitle( )

Return the html title for the content frame. Default we show node name and action.


API Tags:
Access:  protected


[ Top ]
getInstance  [line 137]

  atkController &getInstance( )

Return the one and only instance of the class



[ Top ]
getModuleName  [line 816]

  string getModuleName( )

Return module name of controller


API Tags:
Return:  module name


[ Top ]
getName  [line 826]

  string getName( )

Return controller name


API Tags:
Return:  controller name


[ Top ]
getNode  [line 265]

  reference &getNode( )

Get m_node variable or if not set make instance of atkNode class (determined by using the postvars)


API Tags:
Return:  to atknode


[ Top ]
getPage  [line 739]

  object reference &getPage( )

Return a reference to the atkPage object. This object is used to render output as an html page.



[ Top ]
getPhpFile  [line 690]

  string getPhpFile( )

Return php_file. If not set, returns theme-level dispatchfile, if not set either, return (sanitized) PHP_SELF


API Tags:
Return:  The name of the file to which subsequent requests should be posted.


[ Top ]
getReturnOutput  [line 728]

  bool getReturnOutput( )

Return the setting for returning output



[ Top ]
getUi  [line 751]

  atkUi &getUi( )

Get the ui instance for drawing and templating purposes.


API Tags:
Return:  An atkUi instance for drawing and templating.


[ Top ]
handleRequest  [line 175]

  void handleRequest( array $postvars, [string $flags = NULL]  )

This is the wrapper method for all http requests on a node.

The method looks at the atkaction from the postvars and determines what should be done. If possible, it instantiates actionHandlers for handling the actual action.

Parameters:
array   $postvars:  The request variables for the node.
string   $flags:  Render flags (see class atkPage).


Redefined in descendants as:
  • atkWizard::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.

[ Top ]
invoke  [line 790]

  mixed invoke( String $methodname  )

Generic method invoker (copied from class.atkactionhandler.inc).

Controller methods invoked with invoke() instead of directly, have a major advantage: the controller automatically searches for an override in the node. For example, If a controller calls its getSomething() method using the invoke method, the node may implement its own version of getSomething() and that method will then be called instead of the original. The controller is passed by reference to the override function as first parameter, so if necessary, you can call the original method from inside the override.

The function accepts a variable number of parameters. Any parameter that you would pass to the method, can be passed to invoke(), and invoke() will pass the parameters on to the method.

There is one limitation: you can't pass parameters by reference if you use invoke().

Example:

  1.    $controller->invoke("dispatch"$postvars$fullpage);

This will call dispatch(&$handler, $postvars, $flags) on your node class if present, or dispatch($postvars, $flags) in the handler if the node has no override.

Parameters:
String   $methodname:  The name of the method to call.

API Tags:
Return:  The method returns the return value of the invoked method.


[ Top ]
loadDispatchPage  [line 297]

  void loadDispatchPage( array $postvars  )

Does the actual loading of the dispatch page And adds it to the page for the dispatch() method to render.

Parameters:
array   $postvars:  The request variables for the node.


[ Top ]
renderActionPage  [line 393]

  String renderActionPage( String $action, [mixed $blocks = array()]  )

Render a generic action.

Renders actionpage.tpl for the desired action. This includes the given block(s) and a pagetrial, but not a box.

Parameters:
String   $action:  The action for which the page is rendered.
mixed   $blocks:  Pieces of html content to be rendered. Can be a single string with content, or an array with multiple content blocks.

API Tags:
Return:  Piece of HTML containing the given blocks and a pagetrail.


[ Top ]
setHiddenVar  [line 660]

  void setHiddenVar( string $name, string $value  )

Set Key/value pair in m_hidden_vars array. Saved pairs are send as post or get vars in the next page load

Parameters:
string   $name:  the reference key
string   $value:  the actual value


[ Top ]
setNode  [line 255]

  void setNode( &$node, object $node  )

Set m_node variable of this class

Parameters:
object   $node: 
   &$node: 


[ Top ]
setPhpFile  [line 680]

  void setPhpFile( string $phpfile  )

Set php_file member variable

Parameters:
string   $phpfile: 


[ Top ]
setReturnOutput  [line 718]

  void setReturnOutput( bool $returnOutput  )

Configure if you want the html returned or leave it up to atkOutput.

Parameters:
bool   $returnOutput: 


[ Top ]
_instance  [line 107]

  instance &_instance( [string $class = ""], [boolean $replace = false]  )

Create instance of controller (determined by class variable) if not yet created, return instance of atkcontroller

Parameters:
string   $class: 
boolean   $replace: 

API Tags:
Return:  of controller
Access:  private


[ Top ]
Home | About | Contact