W3cubDocs

/PHP

Yaf_Dispatcher::getDefaultController

(Yaf >=3.2.0)

Yaf_Dispatcher::getDefaultControllerRetrive the default controller name

Description

public Yaf_Dispatcher::getDefaultController ( ) : string

get the default controller name

Parameters

This function has no parameters.

Return Values

string, default controller name, default is "Index"

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-dispatcher.getdefaultcontroller.php