====== registerDefaultTask ====== {#JAPI Joomla.Framework Application JController::registerDefaultTask #} Register the default task to perform if a mapping is not found. ===== Syntax ===== void registerDefaultTask ( **$method** ) | **$method** | string | is a string containing the name of the method in the derived class to perform if a named task is not found. | ===== Examples ===== The constructor invokes this method in the following way: $this->registerDefaultTask( 'display' ); This will result in the 'display' method being invoked if the execute method is invoked and no matching task is found. ---- ~~DISCUSSION~~