Docs For Class atkFrontController
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 atkFrontController [ package: atk ]

Class: atkFrontController

Source Location: /front/class.atkfrontcontroller.inc

Class atkFrontController

Property Summary

static mixed   $s_bridges  
static mixed   $s_current  
mixed   $m_action  
atkFrontControllerBridge   $m_bridge  
mixed   $m_cacheableActions  
mixed   $m_contentType  
mixed   $m_headers  
mixed   $m_module  
mixed   $m_name  
mixed   $m_parent  
mixed   $m_partial  
mixed   $m_plugins  
mixed   $m_rendered  
mixed   $m_request  
mixed   $m_result  
mixed   $m_scriptCodes  
mixed   $m_scriptFiles  
mixed   $m_session  
mixed   $m_styleCodes  
mixed   $m_styleSheets  
mixed   $m_template  
mixed   $m_vars  

[ Top ]

Method Summary

static atkFrontController   create()   Create controller based on the given URI.
static atkFrontControllerBridge   createBridge()   Bridge factory method. Returns the currently configured controller bridge.
static string   dispatchRequest()   Dispatch request. Find the right controller, let it handle the request and return it's result.
static atkFrontController   getCurrent()   Returns the current controller instance. This can either be the root or a nested controller.
static void   setCurrent()   Sets the current controller instance.
static array   uriParts()   Returns the parts from the uri like module, controller and action
atkFrontController   __construct()   Constructor.
void   addHeader()   Add response header. (Will only be outputted when renderPartial or renderContent is called for the root controller).
string   buildUrl()   Build url using the given URI and variables.
void   doRedirect()   Redirect to the given url.
string   formVarsFunctionTag()   Smarty function for converting the controller, action etc.
string   getAction()   Returns the action.
atkTmpFile   getActionCacheFile()   Get action cache file.
void   getActionCacheKey()   Get action cache key.
ReflectionMethod   getActionMethod()   Get the method to call for the current request.
string   getFileForTemplate()   Transform the template to use to a filename
void   getLayoutTemplatePath()   Returns the layout template path for this controller.
string   getModule()   Returns the controller module.
string   getname()   Returns the controller name.
atkFrontController   getParent()   Returns the parent controller.
atkDataHolder   getRequest()   Returns the request parameters.
atkFrontController   getRoot()   Returns the root controller.
atkDataHolder   getSession()   Returns the session.
string   getTemplate()   Get current template.
string   getTemplatePath()   Returns the template path for the given template.
string   getUriParam()   Returns the correct key value for the uri in forms and url's Defaults to 'uri'
array   getVars()   Get assigned template variables.
void   handleException()   Handle exception.
result   handleRequest()   Handle action.
void   init()   Init will be called just after preFilter and just before the request is dispatched to the right method.
void   installPlugins()   Install smarty plug-ins.
void   isActionCached()   Is this action cached?
boolean   isRoot()   Is this the root controller?
void   linkBlockTag()   Smarty wrapper function for the url function.
void   loadFromActionCache()   Load from action cache.
void   loadSession()   Load session.
bool   offsetExists()   Checks if a certain offset exists.
mixed   offsetGet()   Returns the value at the given offset.
void   offsetSet()   Sets the given offset with the given value
void   offsetUnset()   Unsets the given offset.
string   partialFunctionTag()   Smarty partial function, render partial template.
void   postFilter()   Will be called just after the request has been dispatched to the right method and the rendering took place but before the result is returned or outputted.
void   preFilter()   Will be called just before the request is dispatched to the right method.
string   redirect()   Redirect to the given url.
void   registerScriptCode()   Register JavaScript code.
void   registerScriptFile()   Register script file.
void   registerStyleCode()   Register stylesheet code.
void   registerStylesAndScripts()   Register styles and scripts using the bridge.
void   registerStyleSheet()   Register stylesheet of the given media type.
void   render()   Render template.
void   renderContent()   Render content.
void   renderPartial()   Render partial.
void   setCacheableActions()   Sets the cacheable actions.
void   setContentType()   Sets the content type (Will only be outputted when renderPartial or renderContent is called for the root controller).
void   setLocale()   Set locale based on the given language.
void   setTemplate()   Set current template.
void   storeInActionCache()   Store current action results in cache.
void   uninstallPlugins()   Uninstall smarty plug-ins.
string   uri()   Build the URI for the given controller and action.
string   url()   Build url or return the current url.
string   urlFunctionTag()   Smarty wrapper function for the url function.
string   _render()   Render template.
unknown   &__get()   Get template variable value.
void   __isset()   Is template variable set?
void   __set()   Template variable assignment.
void   __toString()   To string.

[ Top ]

Properties

static mixed   $s_bridges = array() [line 35]
API Tags:
Access:  private


[ Top ]
static mixed   $s_current = null [line 34]
API Tags:
Access:  private


[ Top ]
mixed   $m_action [line 44]
API Tags:
Access:  protected


[ Top ]
atkFrontControllerBridge   $m_bridge [line 40]
API Tags:
Access:  protected


[ Top ]
mixed   $m_cacheableActions = array() [line 62]
API Tags:
Access:  protected


[ Top ]
mixed   $m_contentType [line 60]
API Tags:
Access:  protected


[ Top ]
mixed   $m_headers = array() [line 59]
API Tags:
Access:  protected


[ Top ]
mixed   $m_module [line 42]
API Tags:
Access:  protected


[ Top ]
mixed   $m_name [line 43]
API Tags:
Access:  protected


[ Top ]
mixed   $m_parent [line 45]
API Tags:
Access:  protected


[ Top ]
mixed   $m_partial = false [line 55]
API Tags:
Access:  protected


[ Top ]
mixed   $m_plugins = NULL [line 53]
API Tags:
Access:  protected


[ Top ]
mixed   $m_rendered = false [line 57]
API Tags:
Access:  protected


[ Top ]
mixed   $m_request [line 47]
API Tags:
Access:  protected


[ Top ]
mixed   $m_result = "" [line 56]
API Tags:
Access:  protected


[ Top ]
mixed   $m_scriptCodes = array() [line 68]
API Tags:
Access:  protected


[ Top ]
mixed   $m_scriptFiles = array() [line 67]
API Tags:
Access:  protected


[ Top ]
mixed   $m_session [line 48]
API Tags:
Access:  protected


[ Top ]
mixed   $m_styleCodes = array() [line 65]
API Tags:
Access:  protected


[ Top ]
mixed   $m_styleSheets = array() [line 64]
API Tags:
Access:  protected


[ Top ]
mixed   $m_template = "" [line 51]
API Tags:
Access:  protected


[ Top ]
mixed   $m_vars = array() [line 50]
API Tags:
Access:  protected


[ Top ]

Methods

static method create  [line 142]

  static atkFrontController create( string $uri, [atkFrontController $parent = NULL]  )

Create controller based on the given URI.

Parameters:
string   $uri:  uri string
atkFrontController   $parent:  parent controller

API Tags:
Return:  the controller
Access:  protected


[ Top ]
static method createBridge  [line 189]

  static atkFrontControllerBridge createBridge( )

Bridge factory method. Returns the currently configured controller bridge.

If an instance already exists, re-uses it, else a new bridge will be created.


API Tags:
Return:  front controller bridge
Access:  protected


[ Top ]
static method dispatchRequest  [line 81]

  static string dispatchRequest( [array $vars = array()], [bool $merge = true]  )

Dispatch request. Find the right controller, let it handle the request and return it's result.

Parameters:
array   $vars:  custom variables, will be merged with the request variables and overwrite existing (request) variables with the same name unless $merge is set to false
bool   $merge:  merge custom and request variables?

API Tags:
Return:  controller result
Access:  public


[ Top ]
static method getCurrent  [line 168]

  static atkFrontController getCurrent( )

Returns the current controller instance. This can either be the root or a nested controller.


API Tags:
Return:  current controller instance
Access:  protected


[ Top ]
static method setCurrent  [line 178]

  static void setCurrent( atkFrontController $controller  )

Sets the current controller instance.

Parameters:
atkFrontController   $controller:  current controller instance

API Tags:
Access:  protected


[ Top ]
static method uriParts  [line 127]

  static array uriParts( string $uri  )

Returns the parts from the uri like module, controller and action

Parameters:
string   $uri: 

API Tags:
Return:  array(module,controller,action)
Access:  protected


[ Top ]
Constructor __construct  [line 210]

  atkFrontController __construct( string $module, string $name, string $action, [atkFrontController $parent = NULL]  )

Constructor.

Parameters:
string   $module:  module name
string   $name:  controller name
string   $action: 
atkFrontController   $parent: 

API Tags:
Access:  protected


[ Top ]
addHeader  [line 320]

  void addHeader( string $header  )

Add response header. (Will only be outputted when renderPartial or renderContent is called for the root controller).

Parameters:
string   $header:  The header to add

API Tags:
Access:  protected


[ Top ]
buildUrl  [line 765]

  string buildUrl( string $uri, array $vars  )

Build url using the given URI and variables.

Parameters:
string   $uri:  The controller URI.
array   $vars:  Request vars.

API Tags:
Return:  url
Access:  protected


[ Top ]
doRedirect  [line 887]

  void doRedirect( string $url  )

Redirect to the given url.

Parameters:
string   $url:  The URL.

API Tags:
Access:  protected


[ Top ]
formVarsFunctionTag  [line 826]

  string formVarsFunctionTag( array $params, Smarty $smarty  )

Smarty function for converting the controller, action etc.

to hidden form vars.

Parameters:
array   $params:  parameters
Smarty   $smarty:  smarty reference

API Tags:
Return:  hidden form vars html
Access:  public


[ Top ]
getAction  [line 308]

  string getAction( )

Returns the action.


API Tags:
Return:  action
Access:  protected


[ Top ]
getActionCacheFile  [line 363]

  atkTmpFile getActionCacheFile( )

Get action cache file.


API Tags:
Access:  protected


[ Top ]
getActionCacheKey  [line 353]

  void getActionCacheKey( )

Get action cache key.


API Tags:
Access:  protected


[ Top ]
getActionMethod  [line 529]

  ReflectionMethod getActionMethod( )

Get the method to call for the current request.


API Tags:
Return:  The method.
Access:  protected


[ Top ]
getFileForTemplate  [line 1112]

  string getFileForTemplate( string $template, array $vars, [bool $partial = false]  )

Transform the template to use to a filename

example: getFileForTemplate('tekno'): module/controller/tekno.tpl

Parameters:
string   $template: 
array   $vars: 
bool   $partial: 

API Tags:
Return:  Filename for the template
Access:  protected


[ Top ]
getLayoutTemplatePath  [line 1088]

  void getLayoutTemplatePath( )

Returns the layout template path for this controller.


API Tags:
Access:  protected


[ Top ]
getModule  [line 298]

  string getModule( )

Returns the controller module.


API Tags:
Return:  controller module
Access:  protected


[ Top ]
getname  [line 288]

  string getname( )

Returns the controller name.


API Tags:
Return:  controller name
Access:  protected


[ Top ]
getParent  [line 237]

  atkFrontController getParent( )

Returns the parent controller.


API Tags:
Return:  parent
Access:  protected


[ Top ]
getRequest  [line 268]

  atkDataHolder getRequest( )

Returns the request parameters.


API Tags:
Return:  request parameters
Access:  protected


[ Top ]
getRoot  [line 257]

  atkFrontController getRoot( )

Returns the root controller.


API Tags:
Return:  root
Access:  protected


[ Top ]
getSession  [line 278]

  atkDataHolder getSession( )

Returns the session.


API Tags:
Return:  session
Access:  protected


[ Top ]
getTemplate  [line 620]

  string getTemplate( )

Get current template.


API Tags:
Return:  template name
Access:  protected


[ Top ]
getTemplatePath  [line 1064]

  string getTemplatePath( string $template, [string $directory = 'templates']  )

Returns the template path for the given template.

Parameters:
string   $template:  template name
string   $directory:  the base template directory

API Tags:
Return:  template path
Access:  protected


[ Top ]
getUriParam  [line 777]

  string getUriParam( )

Returns the correct key value for the uri in forms and url's Defaults to 'uri'


API Tags:
Return:  uri_key
Access:  protected


[ Top ]
getVars  [line 640]

  array getVars( )

Get assigned template variables.


API Tags:
Return:  template variables
Access:  protected


[ Top ]
handleException  [line 569]

  void handleException( Exception $exception  )

Handle exception.

Parameters:
Exception   $exception:  exception

API Tags:
Access:  protected


[ Top ]
handleRequest  [line 445]

  result handleRequest( array $request  )

Handle action.

Parameters:
array   $request:  request variables

API Tags:
Return:  of action
Access:  protected


[ Top ]
init  [line 553]

  void init( )

Init will be called just after preFilter and just before the request is dispatched to the right method.


API Tags:
Access:  protected


[ Top ]
installPlugins  [line 593]

  void installPlugins( )

Install smarty plug-ins.


API Tags:
Access:  protected


[ Top ]
isActionCached  [line 375]

  void isActionCached( )

Is this action cached?


API Tags:
Access:  protected


[ Top ]
isRoot  [line 247]

  boolean isRoot( )

Is this the root controller?


API Tags:
Return:  is root controller?
Access:  protected


[ Top ]
linkBlockTag  [line 858]

  void linkBlockTag( array $params, string $content, Smarty $smarty, &$repeat, boolean $repeat  )

Smarty wrapper function for the url function.

Parameters:
array   $params:  parameters
string   $content:  content between link tags
Smarty   $smarty:  smarty reference
boolean   $repeat:  true first time
   &$repeat: 

API Tags:
Access:  public


[ Top ]
loadFromActionCache  [line 387]

  void loadFromActionCache( )

Load from action cache.


API Tags:
Access:  protected


[ Top ]
loadSession  [line 585]

  void loadSession( )

Load session.


API Tags:
Access:  protected


[ Top ]
offsetExists  [line 683]

  bool offsetExists( mixed $offset  )

Checks if a certain offset exists.

Parameters:
mixed   $offset:  offset

API Tags:
Return:  offset exists?
Access:  public


Implementation of:
ArrayAccess::offsetExists

[ Top ]
offsetGet  [line 694]

  mixed offsetGet( mixed $offset  )

Returns the value at the given offset.

Parameters:
mixed   $offset: 

API Tags:
Return:  value
Access:  public


Implementation of:
ArrayAccess::offsetGet

[ Top ]
offsetSet  [line 705]

  void offsetSet( mixed $offset, mixed $value  )

Sets the given offset with the given value

Parameters:
mixed   $offset:  offset
mixed   $value:  value

API Tags:
Access:  public


Implementation of:
ArrayAccess::offsetSet

[ Top ]
offsetUnset  [line 715]

  void offsetUnset( mixed $offset  )

Unsets the given offset.

Parameters:
mixed   $offset:  offset

API Tags:
Access:  public


Implementation of:
ArrayAccess::offsetUnset

[ Top ]
partialFunctionTag  [line 875]

  string partialFunctionTag( array $params, Smarty $smarty  )

Smarty partial function, render partial template.

Parameters:
array   $params:  parameters
Smarty   $smarty:  smarty instance

API Tags:
Return:  rendered partial
Access:  public


[ Top ]
postFilter  [line 561]

  void postFilter( )

Will be called just after the request has been dispatched to the right method and the rendering took place but before the result is returned or outputted.


API Tags:
Access:  protected


[ Top ]
preFilter  [line 546]

  void preFilter( )

Will be called just before the request is dispatched to the right method.


API Tags:
Access:  protected


[ Top ]
redirect  [line 901]

  string redirect( [string $controller = NULL], [string $action = NULL], [array $vars = array()], [bool $force = FALSE]  )

Redirect to the given url.

Parameters:
string   $controller:  controller name (uses current if empty)
string   $action:  action name (uses current if empty and controller isn't changed, uses index if empty and other controller)
array   $vars:  request vars
bool   $force:  Force redirect?

API Tags:
Return:  url
Access:  protected


[ Top ]
registerScriptCode  [line 983]

  void registerScriptCode( string $code  )

Register JavaScript code.

Parameters:
string   $code: 

API Tags:
Access:  protected


[ Top ]
registerScriptFile  [line 970]

  void registerScriptFile( string $file  )

Register script file.

Parameters:
string   $file:  script filename

API Tags:
Access:  protected


[ Top ]
registerStyleCode  [line 957]

  void registerStyleCode( string $code  )

Register stylesheet code.

Parameters:
string   $code:  stylesheet code

API Tags:
Access:  protected


[ Top ]
registerStylesAndScripts  [line 426]

  void registerStylesAndScripts( )

Register styles and scripts using the bridge.


API Tags:
Access:  protected


[ Top ]
registerStyleSheet  [line 944]

  void registerStyleSheet( string $file, [string $media = 'all']  )

Register stylesheet of the given media type.

Parameters:
string   $file:  stylesheet filename
string   $media:  media type (defaults to 'all')

API Tags:
Access:  protected


[ Top ]
render  [line 1030]

  void render( [string $template = NULL], [array $vars = NULL], [boolean $partial = false]  )

Render template.

Will assign the partial and result variables and will prevent double rendering!

Parameters:
string   $template:  template name
array   $vars:  template variables
boolean   $partial:  render partial?

API Tags:
Access:  protected


[ Top ]
renderContent  [line 1013]

  void renderContent( string $content  )

Render content.

Will assign the partial and result variables and will prevent double rendering!

Parameters:
string   $content:  content to render

API Tags:
Access:  protected


[ Top ]
renderPartial  [line 1000]

  void renderPartial( [string $template = NULL], [array $vars = NULL]  )

Render partial.

Will assign the partial and result variables and will prevent double rendering!

Parameters:
string   $template:  template name
array   $vars:  template variables

API Tags:
Access:  protected


[ Top ]
setCacheableActions  [line 343]

  void setCacheableActions( array|string $actions, ... 1  )

Sets the cacheable actions.

Parameters:
array|string   $actions:  cacheable actions
...   1: 

API Tags:
Access:  protected


[ Top ]
setContentType  [line 332]

  void setContentType( string $contentType  )

Sets the content type (Will only be outputted when renderPartial or renderContent is called for the root controller).

Parameters:
string   $contentType: 

API Tags:
Access:  protected


[ Top ]
setLocale  [line 920]

  void setLocale( string $lng  )

Set locale based on the given language.

Parameters:
string   $lng:  language (ISO code)

API Tags:
Access:  protected


[ Top ]
setTemplate  [line 630]

  void setTemplate( string $template  )

Set current template.

Parameters:
string   $template:  template name

API Tags:
Access:  protected


[ Top ]
storeInActionCache  [line 404]

  void storeInActionCache( )

Store current action results in cache.


API Tags:
Access:  protected


[ Top ]
uninstallPlugins  [line 607]

  void uninstallPlugins( )

Uninstall smarty plug-ins.


API Tags:
Access:  protected


[ Top ]
uri  [line 727]

  string uri( string $controller, string $action  )

Build the URI for the given controller and action.

Parameters:
string   $controller:  controller name (uses current if empty)
string   $action:  action name (uses current if empty and controller isn't changed, uses index if empty and other controller)

API Tags:
Return:  uri
Access:  protected


[ Top ]
url  [line 790]

  string url( [string $controller = NULL], [string $action = NULL], [array $vars = array()]  )

Build url or return the current url.

Parameters:
string   $controller:  controller name (uses current if empty)
string   $action:  action name (uses current if empty and controller isn't changed, uses index if empty and other controller)
array   $vars:  request vars

API Tags:
Return:  url
Access:  protected


[ Top ]
urlFunctionTag  [line 803]

  string urlFunctionTag( array $params, Smarty $smarty  )

Smarty wrapper function for the url function.

Parameters:
array   $params:  parameters
Smarty   $smarty:  smarty reference

API Tags:
Return:  url
Access:  public


[ Top ]
_render  [line 1136]

  string _render( string $template, array $vars, boolean $partial  )

Render template.

Parameters:
string   $template:  template name
array   $vars:  template variables
boolean   $partial:  render partial?

API Tags:
Return:  rendered template
Access:  protected


[ Top ]
__get  [line 672]

  unknown &__get( string $name  )

Get template variable value.

Parameters:
string   $name:  variable name

API Tags:
Access:  public


[ Top ]
__isset  [line 650]

  void __isset( string $name  )

Is template variable set?

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
__set  [line 661]

  void __set( string $name, unknown $value  )

Template variable assignment.

Parameters:
string   $name:  variable name
unknown   $value:  variable value

API Tags:
Access:  public


[ Top ]
__toString  [line 1170]

  void __toString( )

To string.


API Tags:
Access:  public


[ Top ]
Home | About | Contact