references:joomla.framework:application:jcontroller-registerdefaulttaskTable of Contents
registerDefaultTask
Register the default task to perform if a mapping is not found. Syntaxvoid registerDefaultTask ( $method )
ExamplesThe constructor invokes this method in the following way: Example $this->registerDefaultTask( 'display' ); This will result in the ‘display’ method being invoked if the execute method is invoked and no matching task is found. |


